Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
CodeDuplicatesWithReturn.java
blob: 451960db33b371bceb64cfa5d9ac8fa9c620acd3 [
file
] [
log
] [
blame
]
class
C
{
String
method
(
Object
o
)
{
System
.
out
.
println
(
o
);
<
selection
>
Integer
i
=
new
Integer
(
o
.
hashCode
());
return
i
.
toString
();</
selection
>
}
{
String
k
;
Integer
j
=
new
Integer
(
Boolean
.
TRUE
.
hashCode
());
k
=
j
.
toString
();
}
}