java7 cast conventions

This commit is contained in:
anna
2012-10-15 16:20:56 +02:00
parent 1c0933b830
commit 5c798946df
3 changed files with 20 additions and 1 deletions
@@ -0,0 +1,7 @@
class Test {
public static void main(String[] args) {
Object o = null;
if (o == 1) {}
if (1 == o) {}
}
}