Mechanical code cleanup (sal-akka-raft)
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / MockRaftActorContext.java
index bb50a740ba7ca7b6a260a2125a9d965e8812d28d..32d3ae6092e521455a987bd06f065200e906df3d 100644 (file)
@@ -60,13 +60,13 @@ public class MockRaftActorContext extends RaftActorContextImpl {
     }
 
     public MockRaftActorContext(){
-        super(null, null, "test", newElectionTerm(), -1, -1, new HashMap<String, String>(),
+        super(null, null, "test", newElectionTerm(), -1, -1, new HashMap<>(),
                 new DefaultConfigParamsImpl(), new NonPersistentDataProvider(), LOG);
         setReplicatedLog(new MockReplicatedLogBuilder().build());
     }
 
     public MockRaftActorContext(String id, ActorSystem system, ActorRef actor){
-        super(actor, null, id, newElectionTerm(), -1, -1, new HashMap<String, String>(),
+        super(actor, null, id, newElectionTerm(), -1, -1, new HashMap<>(),
                 new DefaultConfigParamsImpl(), new NonPersistentDataProvider(), LOG);
 
         this.system = system;