incubator-airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1239199 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Date Wed, 01 Feb 2012 16:39:13 GMT
Author: lahiru
Date: Wed Feb  1 16:39:12 2012
New Revision: 1239199

URL: http://svn.apache.org/viewvc?rev=1239199&view=rev
Log:
Setting an xml element in to output node rather setting misleading XmlElement.toString value.

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java?rev=1239199&r1=1239198&r2=1239199&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Wed Feb  1 16:39:12 2012
@@ -555,8 +555,6 @@ public class WorkflowInterpreter {
 				for (DataPort dataPort : inputPorts) {
 					Object val = InterpreterUtil.findInputFromPort(dataPort,
 							this.invokerMap);
-					;
-
 								if (null == val) {
 						throw new WorkFlowInterpreterException(
 								"Unable to find output for the node:"
@@ -564,8 +562,8 @@ public class WorkflowInterpreter {
 					}
 					// This is ok because the outputnodes always got only one
                     // input
-                    if (val instanceof XmlElement) {
-                        ((OutputNode) node).setDescription(XMLUtil.xmlElementToString((XmlElement)
val));
+                    if (val instanceof org.xmlpull.v1.builder.XmlElement) {
+                        ((OutputNode) node).setDescription(XMLUtil.xmlElementToString((org.xmlpull.v1.builder.XmlElement)
val));
                     } else {
                         ((OutputNode) node).setDescription(val.toString());
                     }



Mime
View raw message