Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
beforeNestedIf2.java
blob: ec41dd0608856cfdc2ff6b14f32bd3f00b56800a [
file
]
// "Invert 'if' condition" "true"
class
Main
{
boolean
method
(
boolean
a
,
boolean
b
)
{
for
(
int
i
=
1
;
i
<
10
;
i
++)
if
(
a
)
<
caret
>
if
(!
b
)
/* comment 1 */
return
true
;
/* comment 2 */
return
false
;
/* comment 3 */
}
}