Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
UnusedInitializedVar.java
blob: d5a5d63b89a02dee250e98ecd457cf00841aec91 [
file
] [
log
] [
blame
]
class
Foo
{
private
void
bar
()
{
String
text
=
null
;
try
{
<
selection
>
text
=
getString
();</
selection
>
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
text
);
}
}
private
void
getString
()
{
return
"hello"
;
}
}