Fixup Augmentable and Identifiable methods changing
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / device / DeviceContextImpl.java
index b3c8a3445cd038cbbf8616ae6d79d021ca716f64..e32ec38faf1e0366ab09f6c908cf81ba6004d81e 100644 (file)
@@ -350,7 +350,7 @@ public class DeviceContextImpl implements DeviceContext, ExtensionConverterProvi
                                 OpenflowVersion.get(deviceInfo.getVersion()))));
 
         writeToTransaction(LogicalDatastoreType.OPERATIONAL, iiToNodeConnector, new NodeConnectorBuilder()
-                .setKey(iiToNodeConnector.getKey())
+                .withKey(iiToNodeConnector.getKey())
                 .addAugmentation(FlowCapableNodeConnectorStatisticsData.class, new
                         FlowCapableNodeConnectorStatisticsDataBuilder().build())
                 .addAugmentation(FlowCapableNodeConnector.class, flowCapableNodeConnector)