airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject git commit: fixing parameter derivation issue
Date Tue, 22 Jul 2014 21:41:47 GMT
Repository: airavata
Updated Branches:
  refs/heads/workflow-support 915eda2e4 -> b69cf69ee


fixing parameter derivation issue


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/b69cf69e
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/b69cf69e
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/b69cf69e

Branch: refs/heads/workflow-support
Commit: b69cf69ee2fa77c89d8349a24a1071be58857c67
Parents: 915eda2
Author: Saminda Wijeratne <samindaw@gmail.com>
Authored: Tue Jul 22 17:41:31 2014 -0400
Committer: Saminda Wijeratne <samindaw@gmail.com>
Committed: Tue Jul 22 17:41:31 2014 -0400

----------------------------------------------------------------------
 .../java/org/apache/airavata/common/utils/ApplicationSettings.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/b69cf69e/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
----------------------------------------------------------------------
diff --git a/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
b/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
index 9a7ad16..cc14f8d 100644
--- a/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
+++ b/modules/commons/utils/src/main/java/org/apache/airavata/common/utils/ApplicationSettings.java
@@ -218,7 +218,7 @@ public class ApplicationSettings {
 			List<String> parametersAlreadyProcessed=new ArrayList<String>();
 			for (String parameter : containedParameters.values()) {
 				if (!parametersAlreadyProcessed.contains(parameter)) {
-					String parameterName = parameter.substring(2,parameter.length() - 1);
+					String parameterName = parameter.substring(2,parameter.length() - 2);
 					String parameterValue = getSetting(parameterName,parameter);
 					property = property.replaceAll(Pattern.quote(parameter), parameterValue);
 					parametersAlreadyProcessed.add(parameter);


Mime
View raw message