mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
GitOrigin-RevId: c9363210df47ccfad09802790a095c2108b07498
27 lines
415 B
Java
27 lines
415 B
Java
// "Migrate to enhanced switch with rules" "false"
|
|
public class EmptySwitchExpressions {
|
|
|
|
public enum StatusLine {
|
|
A(0), B(1);
|
|
|
|
final int status;
|
|
|
|
StatusLine(int i) {
|
|
status = i;
|
|
}
|
|
|
|
public Integer getStatus() {
|
|
return status;
|
|
}
|
|
}
|
|
|
|
public StatusLine myStatusLine;
|
|
|
|
public String getTestsStatusColor() {
|
|
|
|
return switch<caret> (myStatusLine.getStatus()) {
|
|
|
|
};
|
|
}
|
|
}
|