Repository: commons-crypto
Updated Branches:
  refs/heads/master f7ccb8126 -> 154e18afa


Don't need these parens.

Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/154e18af
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/154e18af
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/154e18af

Branch: refs/heads/master
Commit: 154e18afa3db8f3fc9b51414f5b25e79dd8dc686
Parents: f7ccb81
Author: Gary Gregory <[email protected]>
Authored: Thu Jun 30 17:01:10 2016 -0700
Committer: Gary Gregory <[email protected]>
Committed: Thu Jun 30 17:01:10 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/commons/crypto/cipher/AbstractCipherTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/154e18af/src/test/java/org/apache/commons/crypto/cipher/AbstractCipherTest.java
----------------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/commons/crypto/cipher/AbstractCipherTest.java 
b/src/test/java/org/apache/commons/crypto/cipher/AbstractCipherTest.java
index 11908a1..0101e5e 100644
--- a/src/test/java/org/apache/commons/crypto/cipher/AbstractCipherTest.java
+++ b/src/test/java/org/apache/commons/crypto/cipher/AbstractCipherTest.java
@@ -236,7 +236,7 @@ public abstract class AbstractCipherTest {
 
         // AES_CBC_NOPADDING only accepts data whose size is the multiple of
         // block size
-        int[] dataLenList = (transformation.equals("AES/CBC/NoPadding")) ? new 
int[] { 10 * 1024 }
+        int[] dataLenList = transformation.equals("AES/CBC/NoPadding") ? new 
int[] { 10 * 1024 }
                 : new int[] { 10 * 1024, 10 * 1024 - 3 };
         for (int dataLen : dataLenList) {
             byte[] plainText = new byte[dataLen];

Reply via email to