Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2741 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/base/auxiliary

Subject: perfsonar development work

List archive

perfsonar: r2741 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/base/auxiliary


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2741 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/base/auxiliary
  • Date: Tue, 28 Aug 2007 07:12:13 -0400

Author: mac
Date: 2007-08-28 07:12:12 -0400 (Tue, 28 Aug 2007)
New Revision: 2741

Modified:

branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/base/auxiliary/ComponentsConfigurationReader.java
Log:
Configuration file may have \t characters and spaces before and after "=".

Modified:
branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/base/auxiliary/ComponentsConfigurationReader.java
===================================================================
---
branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/base/auxiliary/ComponentsConfigurationReader.java
2007-08-28 10:29:45 UTC (rev 2740)
+++
branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/base/auxiliary/ComponentsConfigurationReader.java
2007-08-28 11:12:12 UTC (rev 2741)
@@ -37,7 +37,7 @@
(trimmed.indexOf("=") != -1) // contains EQ sign
) {
// split by [spaces]=[spaces]
- String[] tokens = trimmed.split("\\ *\\=\\ *", 2);
+ String[] tokens = trimmed.split("(\\ |\\t)*\\=(\\ |\\t)*",
2);
if (tokens.length == 2)
listProperties.add(new Entry(tokens[0], tokens[1]));
}



  • perfsonar: r2741 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/base/auxiliary, svnlog, 08/28/2007

Archive powered by MHonArc 2.6.16.

Top of Page