Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
extractMethod
/
IDEADEV33368_after.java
blob: c05d3dc7a3a5e5cc2ac23f4433153c3e9d3f13dd [
file
] [
log
] [
blame
]
class
Test
{
void
m
(
boolean
b
)
{
int
x
=
42
;
try
{
x
=
newMethod
(
b
,
x
);
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
x
);
}
}
private
int
newMethod
(
boolean
b
,
int
x
)
throws
Exception
{
if
(
b
)
{
x
=
23
;
throw
new
Exception
();
}
return
x
;
}
}