Fixup Augmentable and Identifiable methods changing
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / datastore / multipart / GroupDescMultipartWriter.java
index b02e24649d30fd89de4c501d92bc961d03a9103f..c1be2a889e975b7f312463c8c4225977f8cb6b3d 100644 (file)
@@ -45,7 +45,7 @@ public class GroupDescMultipartWriter extends AbstractMultipartWriter<GroupDescS
                         .augmentation(FlowCapableNode.class)
                         .child(Group.class, new GroupKey(stat.getGroupId())),
                     new GroupBuilder(stat)
-                        .setKey(new GroupKey(stat.getGroupId()))
+                        .withKey(new GroupKey(stat.getGroupId()))
                         .addAugmentation(NodeGroupStatistics.class, new NodeGroupStatisticsBuilder().build())
                         .build(),
                     withParents);