|
From: <tr...@us...> - 2003-07-19 15:32:31
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/option
In directory sc8-pr-cvs1:/tmp/cvs-serv13778/modules/core/src/com/babeldoc/core/option
Modified Files:
ConfigInfo.java
Log Message:
Removed ostermiller utils from babeldoc
Index: ConfigInfo.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/option/ConfigInfo.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ConfigInfo.java 27 Jun 2003 02:19:58 -0000 1.5
--- ConfigInfo.java 19 Jul 2003 15:32:27 -0000 1.6
***************
*** 159,163 ****
*/
public ConfigOption getOptionInPath(String path) {
! return getOptionInPath(new com.Ostermiller.util.StringTokenizer(path, "/").toArray());
}
--- 159,168 ----
*/
public ConfigOption getOptionInPath(String path) {
! StringTokenizer st = new StringTokenizer(path, "/");
! String [] pathParts = new String[st.countTokens()];
! for(int i=0; i<pathParts.length; ++i) {
! pathParts[i] = st.nextToken();
! }
! return getOptionInPath(pathParts);
}
|