wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1094688 - /incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/providers/entity/xml/AbstractJAXBCollectionProvider.java
Date Mon, 18 Apr 2011 18:25:18 GMT
Author: bluk
Date: Mon Apr 18 18:25:18 2011
New Revision: 1094688

URL: http://svn.apache.org/viewvc?rev=1094688&view=rev
Log:
Once marshaller is released, don't re-use

Fixes [WINK-345].

Thanks to Matt for reporting the issue.

Modified:
    incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/providers/entity/xml/AbstractJAXBCollectionProvider.java

Modified: incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/providers/entity/xml/AbstractJAXBCollectionProvider.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/providers/entity/xml/AbstractJAXBCollectionProvider.java?rev=1094688&r1=1094687&r2=1094688&view=diff
==============================================================================
--- incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/providers/entity/xml/AbstractJAXBCollectionProvider.java
(original)
+++ incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/providers/entity/xml/AbstractJAXBCollectionProvider.java
Mon Apr 18 18:25:18 2011
@@ -185,6 +185,7 @@ public abstract class AbstractJAXBCollec
                 }
                 marshaller.marshal(entityToMarshal, entityStream);
                 releaseJAXBMarshaller(context, marshaller);
+                marshaller = null;
             }
 
             writeEndTag(qname, entityStream);



Mime
View raw message