LambdaRefactoringUtil#convertToLambda: check context when deciding whether to add qualifier

This commit is contained in:
Tagir Valeev
2017-01-24 13:56:26 +07:00
parent 00d112dc00
commit ed51fbe99b
4 changed files with 57 additions and 8 deletions
@@ -14,7 +14,7 @@ public class Main {
long limit = 33;
OUTER:
while (true) {
Integer x = Main.getInt();
Integer x = getInt();
for (int i = 0; i < x; i++) {
if (limit-- == 0) break OUTER;
stat.accept(i);