extract method: pre/post expressions checks fixed (IDEA-65476 )

This commit is contained in:
anna
2011-02-14 14:14:32 +01:00
parent c13f2df920
commit 9b28b9cf01
4 changed files with 53 additions and 4 deletions
@@ -0,0 +1,17 @@
class Test {
String[] foo() {
return null;
}
boolean bar(String s) {
return false;
}
void foooooo() {
String[] modules = foo();
int i = 0;
while (i < modules.length && <selection>!bar(modules[i])</selection>) {
i++;
}
}
}