summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Gilbert <david.gilbert@object-refinery.com>2006-04-21 10:09:26 +0000
committerDavid Gilbert <david.gilbert@object-refinery.com>2006-04-21 10:09:26 +0000
commit6a228064bc808c04e50caa798fd883d4b3511bfe (patch)
treebfa87d024947f8741a40fee26a43a38019644683 /gnu
parent7b69b955c062356601af3a4b59a257ce5ef04102 (diff)
downloadclasspath-6a228064bc808c04e50caa798fd883d4b3511bfe.tar.gz
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* gnu/java/security/Properties.java (init): Use Boolean.valueOf() to avoid creating new Boolean instances. ----------------------------------------------------------------------
Diffstat (limited to 'gnu')
-rw-r--r--gnu/java/security/Properties.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/java/security/Properties.java b/gnu/java/security/Properties.java
index 813888c20..860b7d928 100644
--- a/gnu/java/security/Properties.java
+++ b/gnu/java/security/Properties.java
@@ -333,9 +333,9 @@ public final class Properties
handleBooleanProperty(DO_RSA_BLINDING);
// re-sync the 'known' properties
- reproducible = new Boolean((String) props.get(REPRODUCIBLE_PRNG)).booleanValue();
- checkForWeakKeys = new Boolean((String) props.get(CHECK_WEAK_KEYS)).booleanValue();
- doRSABlinding = new Boolean((String) props.get(DO_RSA_BLINDING)).booleanValue();
+ reproducible = Boolean.valueOf((String) props.get(REPRODUCIBLE_PRNG)).booleanValue();
+ checkForWeakKeys = Boolean.valueOf((String) props.get(CHECK_WEAK_KEYS)).booleanValue();
+ doRSABlinding = Boolean.valueOf((String) props.get(DO_RSA_BLINDING)).booleanValue();
// This does not change.
props.put(VERSION, Registry.VERSION_STRING);