Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
CodeDuplicatesWithMultExitPoints_after.java
blob: 1678a904987dcd8de292287f883b923e54c536e5 [
file
] [
log
] [
blame
]
class
A
{
int
foo
(
Object
o
)
{
if
(
newMethod
(
o
))
return
0
;
if
(
newMethod
(
o
))
return
0
;
return
1
;
}
private
boolean
newMethod
(
Object
o
)
{
if
(
o
==
null
)
return
true
;
return
false
;
}
}