comparison gwt-client/src/main/java/org/dive4elements/river/client/server/ExportServiceImpl.java @ 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 6b278187ed9d
children 238fc722f87a
comparison
equal deleted inserted replaced
7632:7fb1d5bf375e 7633:e469d9939a52
87 char buf [] = new char[4096]; 87 char buf [] = new char[4096];
88 int c; 88 int c;
89 while ((c = in.read(buf, 0, buf.length)) >= 0) { 89 while ((c = in.read(buf, 0, buf.length)) >= 0) {
90 encOut.write(buf, 0, c); 90 encOut.write(buf, 0, c);
91 } 91 }
92 out.flush(); 92 encOut.flush();
93 } 93 }
94 finally { 94 finally {
95 in.close(); 95 in.close();
96 } 96 }
97 } 97 }

http://dive4elements.wald.intevation.org