1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00

Do not use deprecated Boolean constructor.

Change-Id: If317ec13ca9ae0cc9ec6d4555afd0b26a402e376
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
This commit is contained in:
Alexander Kurtakov 2019-10-11 00:23:13 +03:00
parent 9daf3d00e2
commit 3317465cdf

View file

@ -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;
}