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:
parent
9daf3d00e2
commit
3317465cdf
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue