Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
ExtractBareDoWhileBody.java
blob: cc769416e6115187118b4cfff1ecf9745360f320 [
file
]
class
DoIfWhile
{
String
foo
(
int
a
,
boolean
b
)
{
int
x
=
0
;
do
<
selection
>
/*comment*/
if
(
b
)
{
String
s
=
bar
(
x
);
if
(
s
!=
null
)
return
s
;
}</
selection
>
while
(++
x
<
a
);
return
null
;
}
String
bar
(
int
x
)
{
return
""
;}
}