Java: Recognize multiple parametrized duplicates when extracting a method (IDEA-188243)

This commit is contained in:
Pavel Dolgov
2018-05-10 12:59:45 +03:00
parent 192532ab7d
commit 1f0ed3d0ea
27 changed files with 501 additions and 99 deletions
@@ -7,8 +7,8 @@ class Test
}
private boolean newMethod() {
if(test1()) return true;
if(test2()) return true;
if (test1()) return true;
if (test2()) return true;
return false;
}