more java tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 12:46:40 +04:00
parent 735a9d17a8
commit 2718da9fc7
1139 changed files with 14287 additions and 0 deletions
@@ -0,0 +1,21 @@
// "Invert If Condition" "true"
class K {
private void bar(int i) {
switch(i) {
case 0:
if (!f(i)) {
i = 1;
break;
}
else {
return;
}
case 1:
i = 2;
}
}
private static boolean f(int i) {
return false;
}
}