You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by wa...@apache.org on 2021/05/31 03:43:29 UTC
[hudi] branch master updated: [MINOR] 'return' is unnecessary as
the last statement in a 'void' method (#3012)
This is an automated email from the ASF dual-hosted git repository.
wangxianghu 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 d965b05 [MINOR] 'return' is unnecessary as the last statement in a 'void' method (#3012)
d965b05 is described below
commit d965b0550fe194f0082f5450ba5be4e07ef7aabf
Author: Wei <hs...@163.com>
AuthorDate: Mon May 31 11:43:10 2021 +0800
[MINOR] 'return' is unnecessary as the last statement in a 'void' method (#3012)
---
.../java/org/apache/hudi/client/heartbeat/HoodieHeartbeatClient.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/heartbeat/HoodieHeartbeatClient.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/heartbeat/HoodieHeartbeatClient.java
index 044e344..1122ced 100644
--- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/heartbeat/HoodieHeartbeatClient.java
+++ b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/heartbeat/HoodieHeartbeatClient.java
@@ -168,7 +168,6 @@ public class HoodieHeartbeatClient implements AutoCloseable, Serializable {
ValidationUtils.checkArgument(heartbeat == null || !heartbeat.isHeartbeatStopped(), "Cannot restart a stopped heartbeat for " + instantTime);
if (heartbeat != null && heartbeat.isHeartbeatStarted()) {
// heartbeat already started, NO_OP
- return;
} else {
Heartbeat newHeartbeat = new Heartbeat();
newHeartbeat.setHeartbeatStarted(true);