From: Robert Varga Date: Fri, 26 Jun 2020 10:43:50 +0000 (+0200) Subject: Add a missing space X-Git-Tag: v2.0.3~15 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=f19f33c725db92a59ead42384fd737030c684377 Add a missing space Logging message was missing a space here, fix that up. Change-Id: I6523e43601c447f5fccb40d1bc901da45060fd81 JIRA: CONTROLLER-1913 Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/SnapshotManager.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/SnapshotManager.java index 71803ccf61..3e2410efde 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/SnapshotManager.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/SnapshotManager.java @@ -92,7 +92,7 @@ public class SnapshotManager implements SnapshotState { } @Override - public boolean captureWithForcedTrim(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex) { + public boolean captureWithForcedTrim(final ReplicatedLogEntry lastLogEntry, final long replicatedToAllIndex) { return currentState.captureWithForcedTrim(lastLogEntry, replicatedToAllIndex); } @@ -216,7 +216,7 @@ public class SnapshotManager implements SnapshotState { } @Override - public boolean captureWithForcedTrim(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex) { + public boolean captureWithForcedTrim(final ReplicatedLogEntry lastLogEntry, final long replicatedToAllIndex) { log.debug("captureWithForcedTrim should not be called in state {}", this); return false; } @@ -291,7 +291,7 @@ public class SnapshotManager implements SnapshotState { @SuppressWarnings("checkstyle:IllegalCatch") private boolean capture(final ReplicatedLogEntry lastLogEntry, final long replicatedToAllIndex, - final String targetFollower, boolean mandatoryTrim) { + final String targetFollower, final boolean mandatoryTrim) { captureSnapshot = newCaptureSnapshot(lastLogEntry, replicatedToAllIndex, mandatoryTrim); OutputStream installSnapshotStream = null; @@ -332,7 +332,7 @@ public class SnapshotManager implements SnapshotState { } @Override - public boolean captureWithForcedTrim(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex) { + public boolean captureWithForcedTrim(final ReplicatedLogEntry lastLogEntry, final long replicatedToAllIndex) { return capture(lastLogEntry, replicatedToAllIndex, null, true); } @@ -398,7 +398,7 @@ public class SnapshotManager implements SnapshotState { context.getConfigParams().getSnapshotBatchCount(), captureSnapshot.getLastAppliedIndex()); } else { - log.debug("{}: user triggered or root overwrite snapshot encountered, trimming log up to" + log.debug("{}: user triggered or root overwrite snapshot encountered, trimming log up to " + "last applied index {}", context.getId(), captureSnapshot.getLastAppliedIndex()); } }