[MINOR] Removing redundant semicolons and line breaks (#5662)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user