IDEA-127499 Decompiler doesn't support switch over enums
This commit is contained in:
13
testData/results/TestSwitchOnStrings.dec
Normal file
13
testData/results/TestSwitchOnStrings.dec
Normal file
@@ -0,0 +1,13 @@
|
||||
package pkg;
|
||||
|
||||
public class TestSwitchOnStrings {
|
||||
public int testSOE(String s) {
|
||||
switch (s) {
|
||||
case "xxx":
|
||||
return 2;
|
||||
case "yyy":
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user