Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/pushConditionInCall/before1.java

7 lines
177 B
Java

// "Push condition b inside method call" "true"
class Foo {
void bar(boolean b){
String s = b <caret>? foo("true") : foo("false");
}
String foo(String p) {return p;}
}