Fixup Augmentable and Identifiable methods changing
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / datastore / multipart / MeterConfigMultipartWriter.java
index 42a8c2ec726bf439e3d59070689af0722cc2812b..ef24c9d0f0044b7fc05761613cd04e0336490ef2 100644 (file)
@@ -45,7 +45,7 @@ public class MeterConfigMultipartWriter extends AbstractMultipartWriter<MeterCon
                         .augmentation(FlowCapableNode.class)
                         .child(Meter.class, new MeterKey(stat.getMeterId())),
                     new MeterBuilder(stat)
-                        .setKey(new MeterKey(stat.getMeterId()))
+                        .withKey(new MeterKey(stat.getMeterId()))
                         .addAugmentation(NodeMeterStatistics.class, new NodeMeterStatisticsBuilder().build())
                         .build(),
                     withParents);