Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
inspection
/
dataFlow
/
ForeachFlow
/
src
/
Npe.java
blob: 90a54c34fdf9cf9e62061448d483c76f4817f325 [
file
] [
log
] [
blame
]
public
class
Npe
{
Object
foo
(
Object
[]
objs
)
{
boolean
skip
=
true
;
for
(
Object
o
:
objs
)
{
if
(
o
instanceof
String
)
{
skip
=
false
;
continue
;
}
if
(
skip
)
{
continue
;
}
bar
();
}
return
""
;
}
void
bar
()
{
}
}