From e718e13ed901994fb3821a9c25f989cea0137759 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 14 Jan 2024 12:05:53 +0900 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E8=A8=98=E3=82=86=E3=82=8C=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/vcs/{ActionTypes.java => ActionType.java} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename vcs/src/main/java/one/nem/lacerta/vcs/{ActionTypes.java => ActionType.java} (79%) diff --git a/vcs/src/main/java/one/nem/lacerta/vcs/ActionTypes.java b/vcs/src/main/java/one/nem/lacerta/vcs/ActionType.java similarity index 79% rename from vcs/src/main/java/one/nem/lacerta/vcs/ActionTypes.java rename to vcs/src/main/java/one/nem/lacerta/vcs/ActionType.java index db0b398a..9e8d6e09 100644 --- a/vcs/src/main/java/one/nem/lacerta/vcs/ActionTypes.java +++ b/vcs/src/main/java/one/nem/lacerta/vcs/ActionType.java @@ -1,6 +1,6 @@ package one.nem.lacerta.vcs; -public enum ActionTypes { +public enum ActionType { INSERT_PAGE("insert_page"), UPDATE_PAGE("update_page"), @@ -21,7 +21,7 @@ public enum ActionTypes { private final String value; - ActionTypes(String value) { + ActionType(String value) { this.value = value; } @@ -29,12 +29,12 @@ public enum ActionTypes { return value; } - public static ActionTypes fromValue(String value) { - for (ActionTypes actionType : ActionTypes.values()) { + public static ActionType fromValue(String value) { + for (ActionType actionType : ActionType.values()) { if (actionType.getValue().equals(value)) { return actionType; } } - return ActionTypes.OTHER; + return ActionType.OTHER; } }