diff options
| author | David Gilbert <david.gilbert@object-refinery.com> | 2006-04-21 10:35:35 +0000 |
|---|---|---|
| committer | David Gilbert <david.gilbert@object-refinery.com> | 2006-04-21 10:35:35 +0000 |
| commit | 324430fd7cd7017fd94e98e0c2f317c66d2106aa (patch) | |
| tree | 2281c739483fd573dc99c07de25ffcafbcbdda21 /gnu/java/security/hash/Sha384.java | |
| parent | cd909b1a8c1a260614ba652bf544ec746f03a72d (diff) | |
| download | classpath-324430fd7cd7017fd94e98e0c2f317c66d2106aa.tar.gz | |
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* gnu/java/security/hash/Haval.java:
(selfTest): Use Boolean.valueOf() to avoid creating new Boolean
instance,
* gnu/java/security/hash/MD2.java:
(selfTest): Likewise,
* gnu/java/security/hash/MD4.java:
(selfTest): Likewise,
* gnu/java/security/hash/MD5.java:
(selfTest): Likewise,
* gnu/java/security/hash/RipeMD128.java:
(selfTest): Likewise,
* gnu/java/security/hash/RipeMD160.java:
(selfTest): Likewise,
* gnu/java/security/hash/Sha160.java:
(selfTest): Likewise,
* gnu/java/security/hash/Sha256.java:
(selfTest): Likewise,
* gnu/java/security/hash/Sha384.java:
(selfTest): Likewise,
* gnu/java/security/hash/Sha512.java:
(selfTest): Likewise,
* gnu/java/security/hash/Tiger.java:
(selfTest): Likewise,
* gnu/java/security/hash/Whirlpool.java:
(selfTest): Likewise.
----------------------------------------------------------------------
Diffstat (limited to 'gnu/java/security/hash/Sha384.java')
| -rw-r--r-- | gnu/java/security/hash/Sha384.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/java/security/hash/Sha384.java b/gnu/java/security/hash/Sha384.java index 2f619dc98..332f048d7 100644 --- a/gnu/java/security/hash/Sha384.java +++ b/gnu/java/security/hash/Sha384.java @@ -254,7 +254,7 @@ public class Sha384 extends BaseHash md.update((byte) 0x62); // b md.update((byte) 0x63); // c String result = Util.toString(md.digest()); - valid = new Boolean(DIGEST0.equals(result)); + valid = Boolean.valueOf(DIGEST0.equals(result)); } return valid.booleanValue(); } |
