Remove redundent byte[].class registration
Also added names to some serializer for debugging purpose
Change-Id: I0997b61a5d08df84c85ca28f6a5ed23417fb8c22
diff --git a/src/main/java/org/onosproject/segmentrouting/McastHandler.java b/src/main/java/org/onosproject/segmentrouting/McastHandler.java
index f78722d..b260751 100644
--- a/src/main/java/org/onosproject/segmentrouting/McastHandler.java
+++ b/src/main/java/org/onosproject/segmentrouting/McastHandler.java
@@ -120,12 +120,12 @@
mcastNextObjStore = storageService
.<McastStoreKey, NextObjective>consistentMapBuilder()
.withName("onos-mcast-nextobj-store")
- .withSerializer(Serializer.using(mcastKryo.build()))
+ .withSerializer(Serializer.using(mcastKryo.build("McastHandler-NextObj")))
.build();
mcastRoleStore = storageService
.<McastStoreKey, McastRole>consistentMapBuilder()
.withName("onos-mcast-role-store")
- .withSerializer(Serializer.using(mcastKryo.build()))
+ .withSerializer(Serializer.using(mcastKryo.build("McastHandler-Role")))
.build();
}