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


The following commit(s) were added to refs/heads/master by this push:
     new 0eb03c5b Remove redundant parens
0eb03c5b is described below

commit 0eb03c5bd6a186ae16080382574d01c9dc7a5dc7
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jul 9 10:12:44 2024 -0400

    Remove redundant parens
---
 src/test/java/org/apache/commons/crypto/cipher/GcmCipherTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/crypto/cipher/GcmCipherTest.java 
b/src/test/java/org/apache/commons/crypto/cipher/GcmCipherTest.java
index 3713db43..05f6a5fb 100644
--- a/src/test/java/org/apache/commons/crypto/cipher/GcmCipherTest.java
+++ b/src/test/java/org/apache/commons/crypto/cipher/GcmCipherTest.java
@@ -180,7 +180,7 @@ public class GcmCipherTest {
             len = enc.update(input, 0, partLen, encOutput, 0);
             assertEquals(partLen, len);
             len = enc.doFinal(input, partLen, input.length - partLen, 
encOutput, partLen);
-            assertEquals((input.length + (iv.getTLen() >> 3) - partLen), len);
+            assertEquals(input.length + (iv.getTLen() >> 3) - partLen, len);
 
             assertArrayEquals(expectedOutput, encOutput);
         }

Reply via email to