表記ゆれ修正

This commit is contained in:
r-ca committed 2024-01-14 12:05:53 +09:00
1 parent 8277258760
commit e718e13ed9
1 file changed
+5 -5
@@ -1,6 +1,6 @@
package one.nem.lacerta.vcs; package one.nem.lacerta.vcs;
public enum ActionTypes { public enum ActionType {
INSERT_PAGE("insert_page"), INSERT_PAGE("insert_page"),
UPDATE_PAGE("update_page"), UPDATE_PAGE("update_page"),
@@ -21,7 +21,7 @@ public enum ActionTypes {
private final String value; private final String value;
ActionTypes(String value) { ActionType(String value) {
this.value = value; this.value = value;
} }
@@ -29,12 +29,12 @@ public enum ActionTypes {
return value; return value;
} }
public static ActionTypes fromValue(String value) { public static ActionType fromValue(String value) {
for (ActionTypes actionType : ActionTypes.values()) { for (ActionType actionType : ActionType.values()) {
if (actionType.getValue().equals(value)) { if (actionType.getValue().equals(value)) {
return actionType; return actionType;
} }
} }
return ActionTypes.OTHER; return ActionType.OTHER;
} }
} }