juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [juneau] lcc commented on a change in pull request #55: Java api fixes
Date Thu, 12 Nov 2020 21:21:23 GMT

lcc commented on a change in pull request #55:
URL: https://github.com/apache/juneau/pull/55#discussion_r522433226



##########
File path: juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/util/FinishableServletOutputStream.java
##########
@@ -55,7 +55,6 @@ public final void flush() throws IOException {
 
 	@Override /* OutputStream */
 	public final void close() throws IOException {
-		os.close();

Review comment:
       os is an OutputStream which has the same behaviour for the close method as the InputStream,
as stated [here](https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html#close--).




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message