cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r652552 - /cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/ArrayType.java
Date Thu, 01 May 2008 15:14:37 GMT
Author: bimargulies
Date: Thu May  1 08:14:37 2008
New Revision: 652552

URL: http://svn.apache.org/viewvc?rev=652552&view=rev
Log:
Fix CXF-1564

Modified:
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/ArrayType.java

Modified: cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/ArrayType.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/ArrayType.java?rev=652552&r1=652551&r2=652552&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/ArrayType.java
(original)
+++ cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/type/basic/ArrayType.java
Thu May  1 08:14:37 2008
@@ -266,8 +266,10 @@
         } else {
             type.writeObject(value, cwriter, context);
         }
-
-        cwriter.close();
+        
+        if (type.isWriteOuter()) {
+            cwriter.close();
+        }
     }
 
     @Override



Mime
View raw message