You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2012/02/01 17:39:13 UTC
svn commit: r1239199 -
/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
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());
}