Files
openide/java/java-tests/testData/inspection/dataFlow/fixture/PrimitiveCastMayChangeValue.java
T

18 lines
438 B
Java

class BrokenAlignment {
private static void foo(long value) {
if (value == (byte)value) {
System.out.println("1");
} else if (value == (short)value) {
System.out.println("2");
} else if (value == (int)value) {
System.out.println("3");
} else {
System.out.println("4");
}
if (0 == (long)<error descr="Cannot resolve symbol 'i'">i</error>) {
System.out.println("0");
}
}
}