commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1190150 - /commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java
Date Fri, 28 Oct 2011 04:02:18 GMT
Author: dbrosius
Date: Fri Oct 28 04:02:18 2011
New Revision: 1190150

URL: http://svn.apache.org/viewvc?rev=1190150&view=rev
Log:
remove unnecessary cast

Modified:
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java?rev=1190150&r1=1190149&r2=1190150&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java
Fri Oct 28 04:02:18 2011
@@ -81,7 +81,7 @@ public class XMLDocumentContainer implem
                     Transformer trans =
                         TransformerFactory.newInstance().newTransformer();
                     trans.transform(source, result);
-                    document = (Document) result.getNode();
+                    document = result.getNode();
                 }
                 else {
                     document = delegate.getValue();



Mime
View raw message