Fixup Augmentable and Identifiable methods changing
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / GroupStatsResponseConvertor.java
index 792492d4d4cfbbb9661d8eb69f1cddfda0bd82b1..8e7a0ecd73ce2db9f1e4c89196442bfff6440a49 100644 (file)
@@ -63,7 +63,7 @@ public class GroupStatsResponseConvertor extends Convertor<
             bucketCounter.setByteCount(new Counter64(bucketStat.getByteCount()));
             bucketCounter.setPacketCount(new Counter64(bucketStat.getPacketCount()));
             BucketId bucketId = new BucketId((long) bucketKey);
-            bucketCounter.setKey(new BucketCounterKey(bucketId));
+            bucketCounter.withKey(new BucketCounterKey(bucketId));
             bucketCounter.setBucketId(bucketId);
             bucketKey++;
             allBucketStats.add(bucketCounter.build());
@@ -99,7 +99,7 @@ public class GroupStatsResponseConvertor extends Convertor<
             salGroupStats.setGroupId(new GroupId(groupStats.getGroupId().getValue()));
             salGroupStats.setPacketCount(new Counter64(groupStats.getPacketCount()));
             salGroupStats.setRefCount(new Counter32(groupStats.getRefCount()));
-            salGroupStats.setKey(new GroupStatsKey(salGroupStats.getGroupId()));
+            salGroupStats.withKey(new GroupStatsKey(salGroupStats.getGroupId()));
             convertedSALGroups.add(salGroupStats.build());
         }