Files
openide/java/java-tests/testData/refactoring/inlineMethod/BooleanModelSimple.java.after
Tagir Valeev 92507ef9b6 IDEA-211473 Inline method: process some boolean methods with multiple exits specially
GitOrigin-RevId: 5e3bc7e8577a346059192cb7d68bef7eef818ffd
2019-04-23 13:20:13 +03:00

13 lines
262 B
Plaintext

class Test {
void use(String s) {
String s1 = s+s;
if(s1 != null) {
s1 = s1.trim();
if (s1.isEmpty()) {
throw new IllegalArgumentException();
}
}
System.out.println("woohoo");
}
}