Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
refactoring
/
introduceVariable
/
MethodCallInSwitch.after.java
blob: 4cfd67ddd0703e56c64f4698d33a97600d5944b1 [
file
] [
log
] [
blame
]
class
A
{
int
getContentElementType
()
{
return
0
;
}
void
method
()
{
final
int
i
=
getContentElementType
();
switch
(
i
)
{
default
:
throw
new
IllegalArgumentException
(
"Wrong content type: "
+
i
);
}
}
}