mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-28 09:31:00 +07:00
11 lines
286 B
Java
11 lines
286 B
Java
class Foo {
|
|
public void foo() {
|
|
Integer a = 128;
|
|
Integer b = (int) a;// cast is necessary because new object is created
|
|
Integer c = 128;
|
|
|
|
System.out.println(a == b);
|
|
System.out.println(<warning descr="Condition 'a == c' is always 'false'">a == c</warning>);
|
|
}
|
|
|
|
} |