Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/helpers
In directory usw-pr-cvs1:/tmp/cvs-serv14303/cirrus/hibernate/helpers
Modified Files:
PropertiesHelper.java
Log Message:
several minor changes
Index: PropertiesHelper.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/helpers/PropertiesHelper.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PropertiesHelper.java 26 Oct 2002 06:35:17 -0000 1.1
--- PropertiesHelper.java 2 Nov 2002 14:32:12 -0000 1.2
***************
*** 47,55 ****
public static String[] toStringArray(String propValue, String delim) {
if (propValue!=null) {
! StringTokenizer tokens = new StringTokenizer(propValue, delim);
! String[] array = new String[ tokens.countTokens() ];
! int i=0;
! while ( tokens.hasMoreTokens() ) array[i++] = tokens.nextToken();
! return array;
}
else {
--- 47,51 ----
public static String[] toStringArray(String propValue, String delim) {
if (propValue!=null) {
! return StringHelper.split(delim, propValue);
}
else {
|