jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1308361 - in /incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out: SinkQuadOutput.java SinkTripleOutput.java
Date Mon, 02 Apr 2012 14:17:02 GMT
Author: andy
Date: Mon Apr  2 14:17:02 2012
New Revision: 1308361

URL: http://svn.apache.org/viewvc?rev=1308361&view=rev
Log:
Flush on Sink close (so BufferWriter is flushed) even though we're not actually closing the
underlying stream.

Modified:
    incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkQuadOutput.java
    incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkTripleOutput.java

Modified: incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkQuadOutput.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkQuadOutput.java?rev=1308361&r1=1308360&r2=1308361&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkQuadOutput.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkQuadOutput.java
Mon Apr  2 14:17:02 2012
@@ -100,6 +100,7 @@ public class SinkQuadOutput implements S
     @Override
     public void close()
     { 
+        IO.flush(out) ;
         // Don't close the underlying OutputStream that was passed in.
     }
 }

Modified: incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkTripleOutput.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkTripleOutput.java?rev=1308361&r1=1308360&r2=1308361&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkTripleOutput.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/main/java/org/openjena/riot/out/SinkTripleOutput.java
Mon Apr  2 14:17:02 2012
@@ -91,6 +91,7 @@ public class SinkTripleOutput implements
     @Override
     public void close()
     { 
+        IO.flush(out) ;
         // Don't close the underlying OutputStream that was passed in.
     }
 



Mime
View raw message