ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1481503 - /webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/push/Serializer.java
Date Sun, 12 May 2013 09:43:33 GMT
Author: veithen
Date: Sun May 12 09:43:33 2013
New Revision: 1481503

URL: http://svn.apache.org/r1481503
Log:
Removed unnecessary cast.

Modified:
    webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/push/Serializer.java

Modified: webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/push/Serializer.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/push/Serializer.java?rev=1481503&r1=1481502&r2=1481503&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/push/Serializer.java
(original)
+++ webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/push/Serializer.java
Sun May 12 09:43:33 2013
@@ -284,7 +284,7 @@ public abstract class Serializer {
             // events from the underlying XMLStreamReader.
             if (!container.isComplete() && container.getBuilder() != null) {
                 StAXOMBuilder builder = (StAXOMBuilder)container.getBuilder();
-                XMLStreamReader reader = (XMLStreamReader)builder.disableCaching();
+                XMLStreamReader reader = builder.disableCaching();
                 DataHandlerReader dataHandlerReader = XMLStreamReaderUtils.getDataHandlerReader(reader);
                 int depth = 0;
                 loop: while (true) {



Mime
View raw message