incubator-hise-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r.@apache.org
Subject svn commit: r985885 - /incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java
Date Mon, 16 Aug 2010 11:50:14 GMT
Author: rr
Date: Mon Aug 16 11:50:13 2010
New Revision: 985885

URL: http://svn.apache.org/viewvc?rev=985885&view=rev
Log:
convertRenderingFromXML

Modified:
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java?rev=985885&r1=985884&r2=985885&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java
Mon Aug 16 11:50:13 2010
@@ -1016,15 +1016,15 @@ public class TaskOperationsImpl implemen
 		return resultDocument;
 	}
 
-	private Document convertRenderingFromXML(Node response) {
-		Document resultDocument = DOMUtils.createEmptyDomDocument(); 
-			if(resultDocument==null)//there was problem with create document
-				return null;
-		Element element = resultDocument.createElement("root"); 
-		resultDocument.appendChild(element); 
-		element.appendChild(resultDocument.importNode(response,true));	
-		return resultDocument;
-	}
+    private Document convertRenderingFromXML(Node response) {
+        Document resultDocument = DOMUtils.createEmptyDomDocument();
+        if (resultDocument == null) {//there was problem with create document
+            return null;
+        }
+        resultDocument.appendChild(resultDocument.importNode(response, true));
+        return resultDocument;
+    }
+	
 
 	/**
      * Returns the rendering types available for the task or notification.



Mime
View raw message