避免实例化。
parent
60b4f18e8c
commit
06ffc8d858
|
@ -2,4 +2,8 @@ package xyz.zhouxy.plusone.constant;
|
|||
|
||||
public class ErrorCodeConsts {
|
||||
public static final int DEFAULT_ERROR_CODE = 9999999;
|
||||
|
||||
private ErrorCodeConsts() {
|
||||
throw new IllegalStateException("Utility class");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue