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-crypto.git
commit 5a3dab19d63dd2a89bfb51faf142a91a72141ded Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Aug 5 12:17:55 2020 -0400 Remove compiler warning and document. --- src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java b/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java index 37e1012..722df6b 100644 --- a/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java +++ b/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java @@ -138,6 +138,7 @@ public class CryptoInputStream extends InputStream implements * @param params the algorithm parameters. * @throws IOException if an I/O error occurs. */ + @SuppressWarnings("resource") // The CryptoCipher returned by getCipherInstance() is closed by CryptoInputStream. public CryptoInputStream(final String transformation, final Properties props, final ReadableByteChannel in, final Key key, final AlgorithmParameterSpec params) throws IOException {