[cleanup] erefactor/EclipseJdt - Use Unboxing

EclipseJdt cleanup 'UseUnboxing' applied by erefactor.

For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
This commit is contained in:
cal101 2021-06-06 17:10:37 +00:00
parent 7693bc131e
commit 469d62d679
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ public class FastDatePrinter extends AbstractDateBasic implements DatePrinter {
} else if (obj instanceof Calendar) {
return format((Calendar) obj);
} else if (obj instanceof Long) {
return format(((Long) obj).longValue());
return format(((Long) obj));
} else {
throw new IllegalArgumentException("Unknown class: " + (obj == null ? "<null>" : obj.getClass().getName()));
}

View File

@ -51,7 +51,7 @@ public class MutableBool implements Comparable<MutableBool>, Mutable<Boolean>, S
@Override
public void set(final Boolean value) {
this.value = value.booleanValue();
this.value = value;
}
// -----------------------------------------------------------------------