diff --git a/streampark-common/src/main/java/org/apache/streampark/common/enums/ClusterState.java b/streampark-common/src/main/java/org/apache/streampark/common/enums/ClusterState.java index cd16e15a36..beebd7b3f7 100644 --- a/streampark-common/src/main/java/org/apache/streampark/common/enums/ClusterState.java +++ b/streampark-common/src/main/java/org/apache/streampark/common/enums/ClusterState.java @@ -19,7 +19,7 @@ import java.io.Serializable; -/** @since: 1.2.3 */ +/** @since 1.2.3 */ public enum ClusterState implements Serializable { /** The cluster was just created but not started */ CREATED(0), diff --git a/streampark-common/src/main/java/org/apache/streampark/common/enums/RestoreMode.java b/streampark-common/src/main/java/org/apache/streampark/common/enums/RestoreMode.java index 29cd210cb1..14e8e52c13 100644 --- a/streampark-common/src/main/java/org/apache/streampark/common/enums/RestoreMode.java +++ b/streampark-common/src/main/java/org/apache/streampark/common/enums/RestoreMode.java @@ -39,7 +39,7 @@ public int get() { } public String getName() { - return RestoreMode.of(this.value).toString(); + return String.valueOf(RestoreMode.of(this.value)); } public static RestoreMode of(Integer value) {