String[] commands = new String[]{"abc"};
for (String command : commands) {
if (DefaultGroovyMethods.isCase("abc", command)) {
DefaultGroovyMethods.print(this, 1);
return 4;
} else if (DefaultGroovyMethods.isCase("start", command)) {
return 4;
} else if (DefaultGroovyMethods.isCase("next", command)) {
continue;
} else {
return 0;
}
}
java.lang.String[] commands = new java.lang.String[]{"abc"};
for(java.lang.String command : commands){
if (org.codehaus.groovy.runtime.DefaultGroovyMethods.isCase("abc", command)) {
print(1);
return 4;
}
else if (org.codehaus.groovy.runtime.DefaultGroovyMethods.isCase("start", command)) {
return 4;
}
else if (org.codehaus.groovy.runtime.DefaultGroovyMethods.isCase("next", command)) {
continue;
}
else {
return 0;
}
}


fix switch testdata