diff options
author | Andy Clement <aclement@pivotal.io> | 2021-12-13 22:04:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 22:04:21 -0800 |
commit | 4021ffcbfe320a1b91bb2bcee7a112f7122ef82d (patch) | |
tree | 2203d74dac02b0dab81c3c3ab94b59da7f4e3c69 /util | |
parent | 3f6f25d6a1dd41632dcdfeb98f455aea2737cb7f (diff) | |
parent | bfd6fee99d2685751a6d49eb29a0173c3f825c09 (diff) | |
download | aspectj-4021ffcbfe320a1b91bb2bcee7a112f7122ef82d.tar.gz aspectj-4021ffcbfe320a1b91bb2bcee7a112f7122ef82d.zip |
Merge pull request #103 from turbanoff/redundant_boxing
Cleanup redundant boxing.
Diffstat (limited to 'util')
-rw-r--r-- | util/src/main/java/org/aspectj/util/LangUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/main/java/org/aspectj/util/LangUtil.java b/util/src/main/java/org/aspectj/util/LangUtil.java index 28cf2f708..af1e21d29 100644 --- a/util/src/main/java/org/aspectj/util/LangUtil.java +++ b/util/src/main/java/org/aspectj/util/LangUtil.java @@ -353,7 +353,7 @@ public class LangUtil { try { String value = System.getProperty(propertyName); if (null != value) { - return Boolean.valueOf(value); + return Boolean.parseBoolean(value); } } catch (Throwable t) { // default below |