summaryrefslogtreecommitdiff
path: root/gnu/javax/crypto/cipher/Twofish.java
diff options
context:
space:
mode:
authorDavid Gilbert <david.gilbert@object-refinery.com>2006-04-21 10:52:25 +0000
committerDavid Gilbert <david.gilbert@object-refinery.com>2006-04-21 10:52:25 +0000
commit00ca8cf3d097cd0370a8aad14c6cbad005ac16d3 (patch)
tree45c3f873ae9ea4c40988bb542ae65f191ac6bda6 /gnu/javax/crypto/cipher/Twofish.java
parent324430fd7cd7017fd94e98e0c2f317c66d2106aa (diff)
downloadclasspath-00ca8cf3d097cd0370a8aad14c6cbad005ac16d3.tar.gz
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* gnu/javax/crypto/cipher/Anubis.java: (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean instance, * gnu/javax/crypto/cipher/Blowfish.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Cast5.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Khazad.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Rijndael.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Serpent.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Square.java: (selfTest): Likewise, * gnu/javax/crypto/cipher/Twofish.java: (selfTest): Likewise, * gnu/javax/crypto/mac/UMac32.java: (selfTest): Likewise, * gnu/javax/crypto/prng/CSPRNG.java: (getSystemInstance): Likewise. ----------------------------------------------------------------------
Diffstat (limited to 'gnu/javax/crypto/cipher/Twofish.java')
-rw-r--r--gnu/javax/crypto/cipher/Twofish.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/javax/crypto/cipher/Twofish.java b/gnu/javax/crypto/cipher/Twofish.java
index bea7f5d2c..f5565d4b4 100644
--- a/gnu/javax/crypto/cipher/Twofish.java
+++ b/gnu/javax/crypto/cipher/Twofish.java
@@ -902,7 +902,7 @@ public final class Twofish extends BaseCipher
{
result = testKat(KAT_KEY, KAT_CT);
}
- valid = new Boolean(result);
+ valid = Boolean.valueOf(result);
}
return valid.booleanValue();
}