Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
j2k
/
testData
/
fileOrElement
/
nullability
/
MethodResultComparedWithNull4.java
blob: f03bf624786cf5e06b35fb2599ed8d2d95b4f964 [
file
] [
log
] [
blame
]
//file
interface
I
{
String
getString
();
}
class
C
{
void
foo
(
I i
,
boolean
b
)
{
String
result
=
i
.
getString
();
if
(
b
)
result
=
null
;
if
(
result
!=
null
)
{
print
(
result
);
}
}
}