commit | 872c9824468bcfb9bb1230c8fd57aed6a631a515 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Thu May 25 09:35:14 2017 -0700 |
committer | Ray Milkey <ray@onlab.us> | Thu May 25 17:12:05 2017 +0000 |
tree | 09120d60ccd666ba7d8d928a2504438101d2b8b8 | |
parent | d73c9beffeb00419223e2b9d6a2bde294d99277e [diff] |
Removing duplicate registration. - both part of API set Change-Id: I99ee7ec24bc2ddbc9c5546096453a59dc0267910
diff --git a/incubator/store/src/main/java/org/onosproject/incubator/store/meter/impl/DistributedMeterStore.java b/incubator/store/src/main/java/org/onosproject/incubator/store/meter/impl/DistributedMeterStore.java index 4be984a..25276d5 100644 --- a/incubator/store/src/main/java/org/onosproject/incubator/store/meter/impl/DistributedMeterStore.java +++ b/incubator/store/src/main/java/org/onosproject/incubator/store/meter/impl/DistributedMeterStore.java
@@ -129,9 +129,7 @@ availableMeterIds = storageService.<DeviceId, BitSet>consistentMapBuilder() .withName(AVAILABLEMETERIDSTORE) - .withSerializer(Serializer.using(Arrays.asList(KryoNamespaces.API), - DeviceId.class, - BitSet.class)).build(); + .withSerializer(Serializer.using(KryoNamespaces.API)).build(); log.info("Started"); } @@ -151,6 +149,7 @@ }); } + @Override public MeterId firstReusableMeterId(DeviceId deviceId) { Versioned<BitSet> bitSetVersioned = availableMeterIds.get(deviceId); if (bitSetVersioned == null) {