perfsonar-dev - nmwg: r260 - trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0
Subject: perfsonar development work
List archive
- From:
- To: ,
- Subject: nmwg: r260 - trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0
- Date: Fri, 24 Aug 2007 10:08:07 -0400
Author: mac
Date: 2007-08-24 10:08:07 -0400 (Fri, 24 Aug 2007)
New Revision: 260
Modified:
trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0/ElementHandler.java
Log:
Now objects.conf accepts 1 or more white spaces (\t or space) as separator
Modified: trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0/ElementHandler.java
===================================================================
--- trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0/ElementHandler.java
2007-08-15 12:58:16 UTC (rev 259)
+++ trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0/ElementHandler.java
2007-08-24 14:08:07 UTC (rev 260)
@@ -73,7 +73,7 @@
//System.out.println("Line: "+currentLine);
try {
- String[] result =
currentLine.split("\t");
+ String[] result =
currentLine.split("(\\t|\\ )+");
e2o.put((String)result[0],
(Class.forName((String)result[1])).
getConstructor(noParams));
- nmwg: r260 - trunk/nmwg/java/org/ggf/ns/nmwg/base/v2_0, svnlog, 08/24/2007
Archive powered by MHonArc 2.6.16.