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