comparison gwt-client/src/main/java/org/dive4elements/river/client/server/ExportServiceImpl.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents 238fc722f87a
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
81 if (enc != null) { 81 if (enc != null) {
82 InputStreamReader in = new InputStreamReader( 82 InputStreamReader in = new InputStreamReader(
83 client.collectionOut(request, uuid, mode), 83 client.collectionOut(request, uuid, mode),
84 "UTF-8"); 84 "UTF-8");
85 try { 85 try {
86 OutputStreamWriter encOut = new OutputStreamWriter(out, enc); 86 OutputStreamWriter encOut = new OutputStreamWriter(
87 out, enc);
87 char buf [] = new char[4096]; 88 char buf [] = new char[4096];
88 int c; 89 int c;
89 while ((c = in.read(buf, 0, buf.length)) >= 0) { 90 while ((c = in.read(buf, 0, buf.length)) >= 0) {
90 encOut.write(buf, 0, c); 91 encOut.write(buf, 0, c);
91 } 92 }

http://dive4elements.wald.intevation.org