Clean-up mdsal-netconf-notification 25/45625/3
authorAlexis de Talhouët <adetalhouet@inocybe.com>
Thu, 15 Sep 2016 12:19:18 +0000 (08:19 -0400)
committerAlexis de Talhouët <adetalhouet@inocybe.com>
Thu, 15 Sep 2016 12:49:48 +0000 (12:49 +0000)
- remove infer generic type

Change-Id: If0d6fe6f76d4a2c85de45345900464d545dffbaf
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
netconf/mdsal-netconf-notification/src/main/java/org/opendaylight/netconf/mdsal/notification/NetconfNotificationOperationService.java

index 9824e1e57bd14744820119355f594ba8d51e8e6e..f008884f5627803c81b302fe4f32bfda3e1cfe1e 100644 (file)
@@ -19,7 +19,7 @@ public class NetconfNotificationOperationService implements NetconfOperationServ
     private final Set<NetconfOperation> netconfOperations;
 
     public NetconfNotificationOperationService(String netconfSessionIdForReporting, NetconfNotificationRegistry netconfNotificationRegistry) {
-        this.netconfOperations = Collections.<NetconfOperation>singleton(new CreateSubscription(netconfSessionIdForReporting, netconfNotificationRegistry));
+        this.netconfOperations = Collections.singleton(new CreateSubscription(netconfSessionIdForReporting, netconfNotificationRegistry));
     }