Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
NullableCheck1.java
blob: 600e3c65eeb734b6643745fb18f996023754c8d2 [
file
] [
log
] [
blame
]
class
Test
{
String
foo
(
int
i
,
boolean
flag
)
{
<
selection
>
String
xxx
=
""
;
if
(
flag
)
{
for
(
int
j
=
0
;
j
<
100
;
j
++)
{
if
(
i
==
j
)
{
return
null
;
}
}
}
</
selection
>
System
.
out
.
println
(
xxx
);
return
null
;
}
}