|
@@ -58,7 +58,7 @@ public enum CommonErrorCode implements ErrorCode {
|
|
|
|
|
|
public static CommonErrorCode codeOf(String code) {
|
|
public static CommonErrorCode codeOf(String code) {
|
|
for (CommonErrorCode state : values()) {
|
|
for (CommonErrorCode state : values()) {
|
|
- if (state.getCode() == code) {
|
|
|
|
|
|
+ if (state.getCode().equals(code)) {
|
|
return state;
|
|
return state;
|
|
}
|
|
}
|
|
}
|
|
}
|