1
0

[MINOR] Removing redundant semicolons and line breaks (#5662)

This commit is contained in:
felixYyu
2022-05-24 06:26:36 +08:00
committed by GitHub
parent 752f956f03
commit 716e995a38
3 changed files with 3 additions and 5 deletions

View File

@@ -22,5 +22,5 @@ package org.apache.hudi.common.model;
* Hoodie cleaning policies. * Hoodie cleaning policies.
*/ */
public enum HoodieCleaningPolicy { public enum HoodieCleaningPolicy {
KEEP_LATEST_FILE_VERSIONS, KEEP_LATEST_COMMITS, KEEP_LATEST_BY_HOURS; KEEP_LATEST_FILE_VERSIONS, KEEP_LATEST_COMMITS, KEEP_LATEST_BY_HOURS
} }

View File

@@ -38,8 +38,7 @@ public enum InsertMode {
* In non-strict mode for insert into, we use insert operation * In non-strict mode for insert into, we use insert operation
* to write data which allow writing the duplicate record. * to write data which allow writing the duplicate record.
*/ */
NON_STRICT("non-strict") NON_STRICT("non-strict");
;
private String value; private String value;

View File

@@ -37,8 +37,7 @@ public enum HiveSyncMode {
/** /**
* The JDBC mode use hive jdbc to sync metadata. * The JDBC mode use hive jdbc to sync metadata.
*/ */
JDBC JDBC;
;
public static HiveSyncMode of(String syncMode) { public static HiveSyncMode of(String syncMode) {
return HiveSyncMode.valueOf(syncMode.toUpperCase(Locale.ROOT)); return HiveSyncMode.valueOf(syncMode.toUpperCase(Locale.ROOT));