airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1522510 - /airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/workflow/NodeExecutionData.java
Date Thu, 12 Sep 2013 09:54:30 GMT
Author: samindaw
Date: Thu Sep 12 09:54:30 2013
New Revision: 1522510

URL: http://svn.apache.org/r1522510
Log:
fixing the issue when there is no input for a node

Modified:
    airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/workflow/NodeExecutionData.java

Modified: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/workflow/NodeExecutionData.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/workflow/NodeExecutionData.java?rev=1522510&r1=1522509&r2=1522510&view=diff
==============================================================================
--- airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/workflow/NodeExecutionData.java
(original)
+++ airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/workflow/NodeExecutionData.java
Thu Sep 12 09:54:30 2013
@@ -213,7 +213,7 @@ public class NodeExecutionData {
 	
 	private static List<NameValue> getIOParameterData(String data){
 		List<NameValue> parameters=new ArrayList<NameValue>();
-		if (data!=null) {
+		if (data!=null && !data.trim().equals("")) {
 			String[] pairs = StringUtil.getElementsFromString(data);
 			for (String paras : pairs) {
 				String name=paras.trim();



Mime
View raw message