Replace new Boolean() with Boolean.valueOf()

Signed-off-by: Tobi Schäfer <interface@p3k.org>
This commit is contained in:
Tobi Schäfer 2024-05-25 17:18:43 +02:00
parent 8ffb7b0b08
commit 0bfa585cb9
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8

View file

@ -76,7 +76,7 @@ public final class TransientProperty implements IProperty, Serializable {
return svalue;
case BOOLEAN:
return new Boolean(bvalue);
return Boolean.valueOf(bvalue);
case INTEGER:
return Long.valueOf(lvalue);