[PATCH] (issue1630) Flush the correct outer output stream

Wald Commits scm-commit at wald.intevation.org
Tue Dec 3 11:48:25 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1386067700 -3600
# Node ID e469d9939a52240c39047d4bb7e8fdd6cf0e4392
# Parent  7fb1d5bf375e341a8004f5698993b2c73565267b
(issue1630) Flush the correct outer output stream

diff -r 7fb1d5bf375e -r e469d9939a52 gwt-client/src/main/java/org/dive4elements/river/client/server/ExportServiceImpl.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/ExportServiceImpl.java	Mon Dec 02 14:47:51 2013 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/ExportServiceImpl.java	Tue Dec 03 11:48:20 2013 +0100
@@ -89,7 +89,7 @@
                     while ((c = in.read(buf, 0, buf.length)) >= 0) {
                         encOut.write(buf, 0, c);
                     }
-                    out.flush();
+                    encOut.flush();
                 }
                 finally {
                     in.close();


More information about the Dive4elements-commits mailing list