避免实例化。

feature/add-copyright
ZhouXY108 2023-04-04 00:32:25 +08:00
parent 60b4f18e8c
commit 06ffc8d858
1 changed files with 4 additions and 0 deletions

View File

@ -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");
}
}