Replace new Boolean() with Boolean.valueOf()
Signed-off-by: Tobi Schäfer <interface@p3k.org>
This commit is contained in:
parent
8ffb7b0b08
commit
0bfa585cb9
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public final class TransientProperty implements IProperty, Serializable {
|
||||||
return svalue;
|
return svalue;
|
||||||
|
|
||||||
case BOOLEAN:
|
case BOOLEAN:
|
||||||
return new Boolean(bvalue);
|
return Boolean.valueOf(bvalue);
|
||||||
|
|
||||||
case INTEGER:
|
case INTEGER:
|
||||||
return Long.valueOf(lvalue);
|
return Long.valueOf(lvalue);
|
||||||
|
|
Loading…
Add table
Reference in a new issue