Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
afterNestedIf5.java
blob: 6249a7642d03a93e06473a7a9c314cec74ab8d8a [
file
]
// "Invert 'if' condition" "true"
class
Main
{
Object
foo
(
boolean
b1
,
boolean
b2
)
{
if
(
b1
)
{
return
null
;
}
else
{
if
(
b2
)
{
return
null
;
}
return
"a"
;
}
}
}