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,12 @@
// "Invert If Condition" "true"
// else on the same line
class TestInvertIf {
void invertIf(Object object) {
if (object != "adf") {
System.out.println("1");
} // comment
else {
System.out.println("2");
}
}
}