Fixup Augmentable and Identifiable methods changing
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / impl / NetconfNodeManager.java
index b749d011ad4db3ec53a5b1ead10349b14cab351e..1fdce0c0b85a2bece422b51303757c8e74f87b43 100644 (file)
@@ -158,7 +158,7 @@ class NetconfNodeManager
         }
 
         @SuppressWarnings("ConstantConditions")
-        final NetconfNode netconfNodeAfter = rootNode.getDataAfter().getAugmentation(NetconfNode.class);
+        final NetconfNode netconfNodeAfter = rootNode.getDataAfter().augmentation(NetconfNode.class);
 
         if (NetconfNodeConnectionStatus.ConnectionStatus.Connected.equals(netconfNodeAfter.getConnectionStatus())) {
             lastUpdateCount++;