cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1401604 - /cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/xmlbeans/XMLBeansJSONProvider.java
Date Wed, 24 Oct 2012 10:10:29 GMT
Author: sergeyb
Date: Wed Oct 24 10:10:29 2012
New Revision: 1401604

URL: http://svn.apache.org/viewvc?rev=1401604&view=rev
Log:
Fixing the wrong setting to null in XmlBeansJSONProvider, thanks to Colm

Modified:
    cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/xmlbeans/XMLBeansJSONProvider.java

Modified: cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/xmlbeans/XMLBeansJSONProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/xmlbeans/XMLBeansJSONProvider.java?rev=1401604&r1=1401603&r2=1401604&view=diff
==============================================================================
--- cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/xmlbeans/XMLBeansJSONProvider.java
(original)
+++ cxf/trunk/rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/xmlbeans/XMLBeansJSONProvider.java
Wed Oct 24 10:10:29 2012
@@ -70,7 +70,7 @@ public class XMLBeansJSONProvider extend
             result = parseXmlBean(type, r);
 
             xsr.close();
-            result = null;
+            xsr = null;
 
         } catch (XMLStreamException e) {
             throw new WebApplicationException(HttpURLConnection.HTTP_INTERNAL_ERROR);



Mime
View raw message