markt-asf commented on code in PR #657: URL: https://github.com/apache/tomcat/pull/657#discussion_r1316282831
########## java/org/apache/catalina/connector/ResponseFacade.java: ########## @@ -111,23 +111,19 @@ public String getCharacterEncoding() { @Override public ServletOutputStream getOutputStream() throws IOException { - checkFacade(); - ServletOutputStream sos = response.getOutputStream(); if (isFinished()) { response.setSuspended(true); } - return sos; + return response.getOutputStream(); } @Override public PrintWriter getWriter() throws IOException { - checkFacade(); - PrintWriter writer = response.getWriter(); if (isFinished()) { response.setSuspended(true); } - return writer; + return response.getWriter(); Review Comment: There is an extra space here that needs to be removed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org