Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
inspection
/
dataFlow
/
fixture
/
StringConcatAlwaysNotNull.java
blob: dd38e5a0fc9c6c619214f8094cdb9edd79d19a8a [
file
] [
log
] [
blame
]
import
org
.
jetbrains
.
annotations
.
NotNull
;
class
X
{
@NotNull
String
foo
()
{
return
""
;}
void
bar
()
{
String
o
=
foo
();
o
+=
""
;
if
(<
warning descr
=
"Condition 'o != null' is always 'true'"
>
o
!=
null
</
warning
>)
{
}
}
}