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 469466ab4366d163eedd6aebfc0f1131c9bae808 Author: Gary Gregory <[email protected]> AuthorDate: Sun Jan 4 12:32:47 2026 -0500 Use a code comment, not Javadoc inside a method --- .../apache/commons/crypto/stream/CtrCryptoOutputStream.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/commons/crypto/stream/CtrCryptoOutputStream.java b/src/main/java/org/apache/commons/crypto/stream/CtrCryptoOutputStream.java index 5af402dd..9a18d9aa 100644 --- a/src/main/java/org/apache/commons/crypto/stream/CtrCryptoOutputStream.java +++ b/src/main/java/org/apache/commons/crypto/stream/CtrCryptoOutputStream.java @@ -309,11 +309,11 @@ private void encryptBuffer(final ByteBuffer out) throws IOException { try { final int n = cipher.update(inBuffer, out); if (n < inputSize) { - /** - * Typically code will not get here. CryptoCipher#update will - * consume all input data and put result in outBuffer. - * CryptoCipher#doFinal will reset the cipher context. - */ + // + // Typically code will not get here. CryptoCipher#update will + // consume all input data and put result in outBuffer. + // CryptoCipher#doFinal will reset the cipher context. + // cipher.doFinal(inBuffer, out); cipherReset = true; }
