summaryrefslogtreecommitdiff
path: root/gnu/java/security/hash/Whirlpool.java
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/java/security/hash/Whirlpool.java')
-rw-r--r--gnu/java/security/hash/Whirlpool.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/java/security/hash/Whirlpool.java b/gnu/java/security/hash/Whirlpool.java
index 95a4515d9..b10fa53cd 100644
--- a/gnu/java/security/hash/Whirlpool.java
+++ b/gnu/java/security/hash/Whirlpool.java
@@ -642,7 +642,7 @@ public final class Whirlpool extends BaseHash
public boolean selfTest()
{
if (valid == null)
- valid = new Boolean(DIGEST0.equals(Util.toString(new Whirlpool().digest())));
+ valid = Boolean.valueOf(DIGEST0.equals(Util.toString(new Whirlpool().digest())));
return valid.booleanValue();
}