Files
openide/java/java-tests/testData/refactoring/extractMethodAndDuplicatesInplace/SignatureChangeIsNotAvoided_after.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

17 lines
321 B
Java

public class Test {
void test() {
extracted(isGood());
extracted(!isGood());
}
private void extracted(boolean Good) {
if (Good && isApplicable()) {
System.out.println();
}
}
boolean isGood() { return true; }
boolean isApplicable() { return true; }
}