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