Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
daemonCodeAnalyzer
/
quickFix
/
pushConditionInCall
/
beforeDifferentMethods.java
blob: 6cd06d4af04ecac3b067056049a5300a2b5ba056 [
file
] [
log
] [
blame
]
// "Push condition 'b' inside method call" "false"
class
Foo
{
void
bar
(
boolean
b
){
String
s
=
b
<
caret
>?
foo
(
"true"
)
:
foo
(
false
);
}
String
foo
(
String
p
)
{
return
p
;}
String
foo
(
boolean
b
)
{
return
"false"
;}
}