Files
openide/java/java-tests/testData/refactoring/extractMethodAndDuplicatesInplace/SignatureChangeIsNotAvoided.java
Alexandr Suhinin 73f35ed28c IDEA-274123 [extract method]: don't suggest too abstract change signatures
GitOrigin-RevId: 4c59710e2304288ad4465a92ec36bff633bd661e
2022-11-10 01:05:51 +00:00

15 lines
326 B
Java

public class Test {
void test() {
<selection>if (isGood() && isApplicable()) {
System.out.println();
}</selection>
if (!isGood() && isApplicable()) {
System.out.println();
}
}
boolean isGood() { return true; }
boolean isApplicable() { return true; }
}