Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-10-10 17:23:13 -0400
committerAlexander Kurtakov2019-10-10 17:23:13 -0400
commit3317465cdfcb40e4e80cf981ed642a5c18bc983d (patch)
tree404db867e76743ad90c80b9c8286ab3617b05de3
parent9daf3d00e2cbd80f01a87f2e68f3b410e021497a (diff)
downloadorg.eclipse.cdt-3317465cdfcb40e4e80cf981ed642a5c18bc983d.tar.gz
org.eclipse.cdt-3317465cdfcb40e4e80cf981ed642a5c18bc983d.tar.xz
org.eclipse.cdt-3317465cdfcb40e4e80cf981ed642a5c18bc983d.zip
Do not use deprecated Boolean constructor.
Change-Id: If317ec13ca9ae0cc9ec6d4555afd0b26a402e376 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java
index 8a16828d6c..6f4d9b2002 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java
@@ -668,13 +668,13 @@ public class Option extends BuildObject implements IOption, IBuildPropertiesRest
boolean isBuiltinEmpty = false;
if (element.getAttribute(IS_VALUE_EMPTY) != null) {
- Boolean isEmpty = new Boolean(element.getAttribute(IS_VALUE_EMPTY));
+ Boolean isEmpty = Boolean.valueOf(element.getAttribute(IS_VALUE_EMPTY));
if (isEmpty.booleanValue()) {
isValueEmpty = true;
}
}
if (element.getAttribute(IS_BUILTIN_EMPTY) != null) {
- Boolean isEmpty = new Boolean(element.getAttribute(IS_BUILTIN_EMPTY));
+ Boolean isEmpty = Boolean.valueOf(element.getAttribute(IS_BUILTIN_EMPTY));
if (isEmpty.booleanValue()) {
isBuiltinEmpty = true;
}

Back to the top