cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1372094 - in /cxf/trunk: parent/pom.xml rt/core/src/test/java/org/apache/cxf/databinding/source/XMLStreamDataReaderTest.java
Date Sun, 12 Aug 2012 14:09:48 GMT
Author: dkulp
Date: Sun Aug 12 14:09:47 2012
New Revision: 1372094

URL: http://svn.apache.org/viewvc?rev=1372094&view=rev
Log:
Upgrade to latest woodstox that fixes a performance regression.

Modified:
    cxf/trunk/parent/pom.xml
    cxf/trunk/rt/core/src/test/java/org/apache/cxf/databinding/source/XMLStreamDataReaderTest.java

Modified: cxf/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/parent/pom.xml?rev=1372094&r1=1372093&r2=1372094&view=diff
==============================================================================
--- cxf/trunk/parent/pom.xml (original)
+++ cxf/trunk/parent/pom.xml Sun Aug 12 14:09:47 2012
@@ -119,7 +119,7 @@
         <cxf.spring.mock>spring-test</cxf.spring.mock>
         <cxf.stax.impl.groupId>org.codehaus.woodstox</cxf.stax.impl.groupId>
         <cxf.stax.impl.artifactId>woodstox-core-asl</cxf.stax.impl.artifactId>
-        <cxf.woodstox.core.version>4.1.2</cxf.woodstox.core.version>
+        <cxf.woodstox.core.version>4.1.4</cxf.woodstox.core.version>
         <cxf.stax.impl.version>${cxf.woodstox.core.version}</cxf.stax.impl.version>
         <cxf.woodstox.stax2-api.version>3.1.1</cxf.woodstox.stax2-api.version>
         <cxf.wsdl4j.version>1.6.2</cxf.wsdl4j.version>

Modified: cxf/trunk/rt/core/src/test/java/org/apache/cxf/databinding/source/XMLStreamDataReaderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/test/java/org/apache/cxf/databinding/source/XMLStreamDataReaderTest.java?rev=1372094&r1=1372093&r2=1372094&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/test/java/org/apache/cxf/databinding/source/XMLStreamDataReaderTest.java
(original)
+++ cxf/trunk/rt/core/src/test/java/org/apache/cxf/databinding/source/XMLStreamDataReaderTest.java
Sun Aug 12 14:09:47 2012
@@ -44,22 +44,19 @@ public class XMLStreamDataReaderTest ext
         XMLStreamDataReader reader = new XMLStreamDataReader();
         Message msg = new MessageImpl();
         TestInputStream in1 = new TestInputStream(DUMMY_DATA);
-        TestInputStream in2 = new TestInputStream(DUMMY_DATA);
         
         msg.setContent(InputStream.class, in1);
         
         reader.setProperty(Message.class.getName(), msg);
         
         Object obj = reader.read(new QName("http://www.apache.org/cxf", "dummy"), 
-                                 StaxUtils.createXMLStreamReader(in2), XMLStreamReader.class);
+                                 StaxUtils.createXMLStreamReader(in1), XMLStreamReader.class);
 
         assertTrue(obj instanceof XMLStreamReader);
         
         assertFalse(in1.isClosed());
-        assertFalse(in2.isClosed());
         ((XMLStreamReader)obj).close();
         
-        assertTrue(in2.isClosed());
         assertTrue(in1.isClosed());
     }
     



Mime
View raw message