Mechanical code cleanup (sal-distributed-datastore)
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / shardmanager / ShardManagerTest.java
index 2164450ed5bc47d6f1b416e5b5e20aff40298a13..40bee07b1daf0ff9b63f05a246c14de202878bf8 100644 (file)
@@ -316,8 +316,8 @@ public class ShardManagerTest extends AbstractActorTest {
 
         final Map<String, Entry<ActorRef, DatastoreContext>> shardInfoMap = Collections.synchronizedMap(
                 new HashMap<String, Entry<ActorRef, DatastoreContext>>());
-        shardInfoMap.put("default", new AbstractMap.SimpleEntry<ActorRef, DatastoreContext>(defaultShardActor, null));
-        shardInfoMap.put("topology", new AbstractMap.SimpleEntry<ActorRef, DatastoreContext>(topologyShardActor, null));
+        shardInfoMap.put("default", new AbstractMap.SimpleEntry<>(defaultShardActor, null));
+        shardInfoMap.put("topology", new AbstractMap.SimpleEntry<>(topologyShardActor, null));
 
         final PrimaryShardInfoFutureCache primaryShardInfoCache = new PrimaryShardInfoFutureCache();
         final CountDownLatch newShardActorLatch = new CountDownLatch(2);