abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From calav...@apache.org
Subject svn commit: r696673 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java
Date Thu, 18 Sep 2008 15:17:30 GMT
Author: calavera
Date: Thu Sep 18 08:17:30 2008
New Revision: 696673

URL: http://svn.apache.org/viewvc?rev=696673&view=rev
Log:
fixes ABDERA-191: Intermittent zero-length response when retrieving Service Document. Thanks
to James Abley.

-Esta línea y las que están debajo serán ignoradas--

M    StaxStreamWriter.java

Modified:
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java?rev=696673&r1=696672&r2=696673&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java
Thu Sep 18 08:17:30 2008
@@ -113,6 +113,7 @@
   public StreamWriter endDocument() {
     try {
       writer.writeEndDocument();
+      writer.flush();
       if (autoclose) writer.close();
     } catch(XMLStreamException e) {
       throw new RuntimeException(e);



Mime
View raw message