[MINOR] 'return' is unnecessary as the last statement in a 'void' method (#3012)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user