do not need parenthesis for associative operations (IDEADEV-41569); move to java-tests

This commit is contained in:
anna
2009-11-25 14:39:43 +03:00
parent ac7d7872ee
commit c317da06f1
116 changed files with 1340 additions and 2 deletions
@@ -0,0 +1,11 @@
class A {
int getContentElementType() {
return 0;
}
void method() {
switch (<selection>getContentElementType()</selection>) {
default: throw new IllegalArgumentException("Wrong content type: " + getContentElementType());
}
}
}