From 049b9d99ff887e9408e23cbd169431140dd0afa9 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 18 Oct 2013 14:08:50 +0300 Subject: Remove out of order flush() (#12283) Writer.flush() is specified as: "Flushes the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams." Change-Id: Iecafdbb13a7a26a48300d2967c25c705f5bf1e38 --- server/src/com/vaadin/server/VaadinServlet.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'server') diff --git a/server/src/com/vaadin/server/VaadinServlet.java b/server/src/com/vaadin/server/VaadinServlet.java index c16be33de2..7c0f9599f3 100644 --- a/server/src/com/vaadin/server/VaadinServlet.java +++ b/server/src/com/vaadin/server/VaadinServlet.java @@ -427,8 +427,6 @@ public class VaadinServlet extends HttpServlet implements Constants { outWriter.print(output); outWriter.flush(); outWriter.close(); - out.flush(); - } /** -- cgit v1.2.3