You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2016/06/20 09:26:52 UTC

commons-crypto git commit: Avoid unused warning

Repository: commons-crypto
Updated Branches:
  refs/heads/master 4117c5696 -> f23dcb7d2


Avoid unused warning

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

Branch: refs/heads/master
Commit: f23dcb7d29cc0b1e2aa1cbc01f417580f64feaae
Parents: 4117c56
Author: Sebb <se...@apache.org>
Authored: Mon Jun 20 10:26:48 2016 +0100
Committer: Sebb <se...@apache.org>
Committed: Mon Jun 20 10:26:48 2016 +0100

----------------------------------------------------------------------
 .../org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/f23dcb7d/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java b/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java
index 1f4b162..f5f1204 100644
--- a/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java
+++ b/src/test/java/org/apache/commons/crypto/cipher/CryptoCipherFactoryTest.java
@@ -66,8 +66,7 @@ public class CryptoCipherFactoryTest {
         properties.setProperty(ConfigurationKeys
             .COMMONS_CRYPTO_ENABLE_FALLBACK_ON_NATIVE_FAILED_KEY, "false");
         try {
-            CryptoCipher defaultCipher = CryptoCipherFactory.getInstance(
-                    CipherTransformation.AES_CBC_NOPADDING, properties);
+            CryptoCipherFactory.getInstance(CipherTransformation.AES_CBC_NOPADDING, properties);
             fail("Should throw an exception when DisableFallback");
         } catch (Exception e) {
             ;