Removed 'Integer.valueOf()' boxing of literals
This commit is contained in:
committed by
Egor.Ushakov
parent
40c4d82996
commit
5f292c415c
@@ -12,6 +12,7 @@ public class TestPrimitives {
|
||||
printDouble(1.23);
|
||||
printChar('Z');
|
||||
|
||||
String.format("%b, %d, %d, %d, %c", true, 1, 213, 40_000, 'c', 42L);
|
||||
System.out.println(String.format("%b, %d, %d, %d", getBoolean(), getByte(), getShort(), getInt()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user