This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git

commit be4db737abe70be8989aa2169d27efe523cdbc18
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Thu Sep 12 15:49:28 2019 -0400

    Add comment about resource management.
---
 .../java/org/apache/commons/configuration2/resolver/CatalogResolver.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/src/main/java/org/apache/commons/configuration2/resolver/CatalogResolver.java 
b/src/main/java/org/apache/commons/configuration2/resolver/CatalogResolver.java
index e0ed0ef..87081fb 100644
--- 
a/src/main/java/org/apache/commons/configuration2/resolver/CatalogResolver.java
+++ 
b/src/main/java/org/apache/commons/configuration2/resolver/CatalogResolver.java
@@ -167,6 +167,7 @@ public class CatalogResolver implements EntityResolver
      * @return An InputSource for the mapped identifier, or null.
      * @throws SAXException if an error occurs.
      */
+    @SuppressWarnings("resource") // InputSource wraps an InputStream.
     @Override
     public InputSource resolveEntity(final String publicId, final String 
systemId)
             throws SAXException

Reply via email to