-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Description
//code example(代码示例):
public static final String PACKAGE_NAME = getAppPackageName();
public static final String ACTION_START = "abc_" + PACKAGE_NAME;
public void testSwitchCase(String action) {
switch(action) {
case ACTION_START://提示错误(Prompt Error): "Constant expression required" !!!!!
break;
default:
break;
}
}
public static String getAppPackageName() {
return "com.github";
}
Metadata
Metadata
Assignees
Labels
No labels
