X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fbehaviors%2FSnapshotTrackerTest.java;h=443b931d2599ffcc818eef0a0e72c8a9c4696b46;hb=e0f532e2e248c82c7ebdabe2541b91dee7ea4247;hp=658e2ca53fb4843cdf4f9e4c5a4b9a1b6512b1b2;hpb=8d90cf04be86f872f7eeb892d37517d5ee087157;p=controller.git diff --git a/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java b/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java index 658e2ca53f..443b931d25 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java +++ b/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java @@ -14,9 +14,9 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; +import akka.protobuf.ByteString; import com.google.common.base.Optional; import com.google.common.io.ByteSource; -import com.google.protobuf.ByteString; import java.io.IOException; import java.io.Serializable; import java.util.Arrays; @@ -119,7 +119,7 @@ public class SnapshotTrackerTest { } } - private byte[] getNextChunk(ByteString bs, int offset, int size) { + private static byte[] getNextChunk(final ByteString bs, final int offset, int size) { int snapshotLength = bs.size(); int start = offset; if (size > snapshotLength) {