changeset 7633:e469d9939a52

(issue1630) Flush the correct outer output stream
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 03 Dec 2013 11:48:20 +0100
parents 7fb1d5bf375e
children 10993baf02c5
files gwt-client/src/main/java/org/dive4elements/river/client/server/ExportServiceImpl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();

http://dive4elements.wald.intevation.org