Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
WriteDifferentFieldsDuplicate.java
blob: 5f9077a97e74deb4b7c263cc1b68e52ca76f708a [
file
]
class
WriteDifferentFieldsDuplicate
{
Runnable
x
;
Runnable
y
;
private
void
foo
()
{
<
selection
>
if
(
x
!=
null
)
{
x
.
run
();
x
=
null
;
}</
selection
>
if
(
y
!=
null
)
{
y
.
run
();
y
=
null
;
}
}
}