Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
afterSCR2542.java
blob: 17bec6b8b3323b61c7b65af3cb30323e8f4ad7ee [
file
] [
log
] [
blame
]
// "Invert If Condition" "true"
// else on the same line
class
TestInvertIf
{
void
invertIf
(
Object
object
)
{
if
(
object
!=
"adf"
)
{
System
.
out
.
println
(
"1"
);
}
// comment
else
{
System
.
out
.
println
(
"2"
);
}
}
}