Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
afterParenthesis2.java
blob: 4dbe6a8f831f9ac065d8b10f764f0edc6272b34a [
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
);
}
}
}