Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
beforeSCR2542.java
blob: dab56d4b88ea4a49e5a352fa7428b9ae1cbf6bef [
file
] [
log
] [
blame
]
// "Invert If Condition" "true"
// else on the same line
class
TestInvertIf
{
void
invertIf
(
Object
object
)
{
<
caret
>
if
(
object
==
"adf"
)
{
System
.
out
.
println
(
"2"
);
}
else
{
System
.
out
.
println
(
"1"
);
}
// comment
}
}