summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 14:00:54 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:16 +0200
commitbe1bb7b1ccee28be616b89cc95e97d656e78bbe3 (patch)
treed67d16a68d1469b5096a27c743c4b0326a0c0ebe /framework
parent56ef5533fc1bce2134721ae64d4d6c18a3526a7a (diff)
java: use Boolean.valueOf instead of instantiating Boolean objects
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
Diffstat (limited to 'framework')
-rw-r--r--framework/qa/complex/path_substitution/PathSubstitutionTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/qa/complex/path_substitution/PathSubstitutionTest.java b/framework/qa/complex/path_substitution/PathSubstitutionTest.java
index 2c55aeae2cd4..9c8db83bda22 100644
--- a/framework/qa/complex/path_substitution/PathSubstitutionTest.java
+++ b/framework/qa/complex/path_substitution/PathSubstitutionTest.java
@@ -235,8 +235,8 @@ public class PathSubstitutionTest
boolean canResubst)
{
varName.add(var);
- this.substAtBegin.add(new Boolean(onlySubstAtBegin));
- this.resubst.add(new Boolean(canResubst));
+ this.substAtBegin.add(Boolean.valueOf(onlySubstAtBegin));
+ this.resubst.add(Boolean.valueOf(canResubst));
}
public void putValue(int i, String val)