You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by xu...@apache.org on 2022/05/23 22:26:42 UTC

[hudi] branch master updated: [MINOR] Removing redundant semicolons and line breaks (#5662)

This is an automated email from the ASF dual-hosted git repository.

xushiyan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 716e995a38 [MINOR] Removing redundant semicolons and line breaks (#5662)
716e995a38 is described below

commit 716e995a3869f1b84e4182957948c704aa2a162b
Author: felixYyu <fe...@live.cn>
AuthorDate: Tue May 24 06:26:36 2022 +0800

    [MINOR] Removing redundant semicolons and line breaks (#5662)
---
 .../main/java/org/apache/hudi/common/model/HoodieCleaningPolicy.java   | 2 +-
 .../src/main/java/org/apache/hudi/sql/InsertMode.java                  | 3 +--
 .../src/main/java/org/apache/hudi/hive/ddl/HiveSyncMode.java           | 3 +--
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieCleaningPolicy.java b/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieCleaningPolicy.java
index 58b9f7475a..3eb8f784db 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieCleaningPolicy.java
+++ b/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieCleaningPolicy.java
@@ -22,5 +22,5 @@ package org.apache.hudi.common.model;
  * Hoodie cleaning policies.
  */
 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
 }
diff --git a/hudi-spark-datasource/hudi-spark-common/src/main/java/org/apache/hudi/sql/InsertMode.java b/hudi-spark-datasource/hudi-spark-common/src/main/java/org/apache/hudi/sql/InsertMode.java
index 4b44ae4385..c68bd60ba6 100644
--- a/hudi-spark-datasource/hudi-spark-common/src/main/java/org/apache/hudi/sql/InsertMode.java
+++ b/hudi-spark-datasource/hudi-spark-common/src/main/java/org/apache/hudi/sql/InsertMode.java
@@ -38,8 +38,7 @@ public enum InsertMode {
    * In non-strict mode for insert into, we use insert operation
    * to write data which allow writing the duplicate record.
    */
-  NON_STRICT("non-strict")
-  ;
+  NON_STRICT("non-strict");
 
   private String value;
 
diff --git a/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/ddl/HiveSyncMode.java b/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/ddl/HiveSyncMode.java
index abe044cb11..127fc7a438 100644
--- a/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/ddl/HiveSyncMode.java
+++ b/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/ddl/HiveSyncMode.java
@@ -37,8 +37,7 @@ public enum HiveSyncMode {
   /**
    * The JDBC mode use hive jdbc to sync metadata.
    */
-  JDBC
-  ;
+  JDBC;
 
   public static HiveSyncMode of(String syncMode) {
     return HiveSyncMode.valueOf(syncMode.toUpperCase(Locale.ROOT));