Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
beforeConditionWithComment.java
blob: a686e9fe0e98dd82df0599967495a4792ec756cd [
file
]
// "Invert 'if' condition" "true"
class
A
{
// IDEA-153371
public
void
foo
()
{
String
value
=
"not-null"
;
<
caret
>
if
(
value
!=
null
)
{
System
.
out
.
println
(
value
);
// Comment gets deleted.
}
// Another comment
}
}