cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1186391 - in /cxf/branches/2.4.x-fixes: ./ rt/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataReader.java
Date Wed, 19 Oct 2011 18:44:29 GMT
Author: dkulp
Date: Wed Oct 19 18:44:29 2011
New Revision: 1186391

URL: http://svn.apache.org/viewvc?rev=1186391&view=rev
Log:
Merged revisions 1185158 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1185158 | dkulp | 2011-10-17 09:23:32 -0400 (Mon, 17 Oct 2011) | 2 lines
  
  Make sure the wrapped XMLStreamReader can cleanup any resources it may
  be caching
........

Modified:
    cxf/branches/2.4.x-fixes/   (props changed)
    cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataReader.java

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataReader.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataReader.java?rev=1186391&r1=1186390&r2=1186391&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataReader.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/databinding/source/XMLStreamDataReader.java
Wed Oct 19 18:44:29 2011
@@ -171,6 +171,11 @@ public class XMLStreamDataReader impleme
                     if (!b && !closed) {
                         closed = true;
                         try {
+                            super.close();
+                        } catch (XMLStreamException e) {
+                            //ignore
+                        }
+                        try {
                             ins.close();
                         } catch (IOException e) {
                             //ignore



Mime
View raw message