cunningt commented on code in PR #2253:
URL: https://github.com/apache/cxf/pull/2253#discussion_r1943320128


##########
rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/json/JSONProvider.java:
##########
@@ -239,8 +239,8 @@ public T readFrom(Class<T> type, Type genericType, 
Annotation[] anns, MediaType
             } else {
                 response = checkAdapter(response, type, anns, false);
             }
+            realStream.close();

Review Comment:
   Can we do this within a try-with-resources? 



-- 
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...@cxf.apache.org

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

Reply via email to