Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
switchExpressionMigration
/
beforeSwitchThrowingOnly.java
blob: 9c18dd4a7c4b5c9c3205ec401a955993464b94d0 [
file
]
// "Replace with enhanced 'switch' statement" "true"
import
java
.
util
.*;
class
SwitchExpressionMigration
{
private
static
void
m
()
{
switch
<
caret
>(
s
)
{
case
"a"
:
throw
new
NullPointerException
();
default
:
throw
new
NullPointerException
();
}
}
}