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