Skip to content

Commit

Permalink
[Improve] Using code style & quality rules to improve org.apache.stre…
Browse files Browse the repository at this point in the history
…ampark.common.enums package of streampark-common module. (#3019)
  • Loading branch information
VampireAchao authored Sep 4, 2023
1 parent 77ddb36 commit 4eeeb6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4eeeb6f

Please sign in to comment.