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


##########
integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java:
##########
@@ -95,7 +95,7 @@ private static Properties getProperties(ClassLoader parent, 
String propsFileName
 
         props.load(in);
         LOG.fine("Contents: " + propsFileName + props);
-
+        in.close();

Review Comment:
   Needed to rewrite a bit of this in order to do this, as try-with-resources 
does not allow a stream that is set in try-with-resources to be reset later 
within the try.      Split it out into two try-with-resources statements.



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