Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
refactoring
/
convertGroovyToJava
/
codeBlock
/
switch.groovy
blob: c5e703cfe42f7ae84efd91f06283892e68a7aac9 [
file
] [
log
] [
blame
]
String
[]
commands
=
[
'abc'
]
for
(
String
command
:
commands
)
{
switch
(
command
)
{
case
"abc"
:
print
1
case
"start"
:
return
4
case
"next"
:
continue
;
default
:
return
0
;
}
}