|
From: <hu...@us...> - 2006-10-23 20:45:41
|
Revision: 305
http://svn.sourceforge.net/cishell/?rev=305&view=rev
Author: huangb
Date: 2006-10-23 13:45:24 -0700 (Mon, 23 Oct 2006)
Log Message:
-----------
trim the string of the "outFile[*].type" and get rid of whitespace if any.
Modified Paths:
--------------
trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableRunner.java
Modified: trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableRunner.java
===================================================================
--- trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableRunner.java 2006-10-23 16:50:05 UTC (rev 304)
+++ trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableRunner.java 2006-10-23 20:45:24 UTC (rev 305)
@@ -113,7 +113,7 @@
data[i].getMetaData().put(DataProperty.LABEL, label);
String type = props.getProperty("outFile["+i+"].type", DataProperty.OTHER_TYPE);
-
+ type = type.trim();
if (type.equalsIgnoreCase(DataProperty.MATRIX_TYPE)) {
type = DataProperty.MATRIX_TYPE;
} else if (type.equalsIgnoreCase(DataProperty.NETWORK_TYPE)) {
@@ -123,7 +123,7 @@
} else {
type = DataProperty.OTHER_TYPE;
}
-
+
data[i].getMetaData().put(DataProperty.TYPE, type);
}
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|