Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
beforeNestedIf5.java
blob: 8d1ae385f72bd07783c3305a563c6980e619f8c1 [
file
]
// "Invert 'if' condition" "true"
class
Main
{
Object
foo
(
boolean
b1
,
boolean
b2
)
{
if
(
b1
)
{
return
null
;
}
else
if
(!
b
<
caret
>
2
)
{
return
"a"
;
}
return
null
;
}
}