From 2a2f31d919dbabde76284f3b7fdae1e45dc9ceb1 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Tue, 21 Apr 2020 09:40:22 +0800 Subject: [PATCH] [MINOR] Remove reduntant code and fix typo in HoodieDefaultTimeline (#1535) --- .../hudi/common/table/timeline/HoodieDefaultTimeline.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieDefaultTimeline.java b/hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieDefaultTimeline.java index 519e1f7f1..d0ce8a956 100644 --- a/hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieDefaultTimeline.java +++ b/hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieDefaultTimeline.java @@ -24,9 +24,6 @@ import org.apache.hudi.common.util.Option; import org.apache.hudi.common.util.StringUtils; import org.apache.hudi.exception.HoodieException; -import org.apache.log4j.LogManager; -import org.apache.log4j.Logger; - import java.io.Serializable; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; @@ -42,14 +39,13 @@ import static java.util.Collections.reverse; /** * HoodieDefaultTimeline is a default implementation of the HoodieTimeline. It provides methods to inspect a - * List[HoodieInstant]. Function to get the details of the instant is passed in as a lamdba. + * List[HoodieInstant]. Function to get the details of the instant is passed in as a lambda. * * @see HoodieTimeline */ public class HoodieDefaultTimeline implements HoodieTimeline { private static final long serialVersionUID = 1L; - private static final Logger LOG = LogManager.getLogger(HoodieDefaultTimeline.class); private static final String HASHING_ALGORITHM = "SHA-256";