Files
openide/java/java-tests/testData/inspection/commonIfParts/afterLastStatementIsCallInfo.java
Roman Shevchenko 04e6f4a623 Cleanup (warnings; typos; formatting)
GitOrigin-RevId: 1cad4232ba1d1f58c522aa26019d245e2bf6832d
2019-06-16 06:52:20 +03:00

17 lines
211 B
Java

// "Extract common part from 'if'" "INFORMATION"
class X {
void foo() {
if (true) {
another(1);
}
else {
another(2);
}
bar();
}
void another(int i) {}
void bar() {}
}