Mechanical code cleanup (sal-akka-raft)
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / behaviors / Follower.java
index 5c9c0b749c8dcfcf772b5723bd10c0e6923ee872..cb141f9f1e5b28f3c7a3f7428ad827d5706881d0 100644 (file)
@@ -516,7 +516,7 @@ public class Follower extends AbstractRaftActorBehavior {
             if(snapshotTracker.addChunk(installSnapshot.getChunkIndex(), installSnapshot.getData(),
                     installSnapshot.getLastChunkHashCode())){
                 Snapshot snapshot = Snapshot.create(snapshotTracker.getSnapshot(),
-                        new ArrayList<ReplicatedLogEntry>(),
+                        new ArrayList<>(),
                         installSnapshot.getLastIncludedIndex(),
                         installSnapshot.getLastIncludedTerm(),
                         installSnapshot.getLastIncludedIndex(),