(byte) type cast in constructor calls
This commit is contained in:
@@ -68,4 +68,8 @@ public class TestPrimitives {
|
||||
printByte((byte)getInt());
|
||||
printShort((short)getInt());
|
||||
}
|
||||
|
||||
public void constructor() {
|
||||
new Byte((byte)1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user