Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
beforeParenthesis1.java
blob: f2cc5133669a51a7a405def122a8e1744335d2fa [
file
]
// "Invert 'if' condition" "true"
class
Inversion
{
public
void
context
(
boolean
a
,
boolean
b
,
boolean
c
)
{
if
(
a
&<
caret
>&
b
||
c
)
{
System
.
out
.
println
(
0
);
}
else
{
System
.
out
.
println
(
1
);
}
}
}