Committed by
Gerrit Code Review
Remove duplicate kryo registrations for classes that are already registered in API
Change-Id: I36ced2f5ff72010e0bd008200bb512c12e45ab39
Showing
1 changed file
with
1 additions
and
5 deletions
... | @@ -90,11 +90,7 @@ public class DistributedRegionStore | ... | @@ -90,11 +90,7 @@ public class DistributedRegionStore |
90 | protected void activate() { | 90 | protected void activate() { |
91 | Serializer serializer = | 91 | Serializer serializer = |
92 | Serializer.using(Arrays.asList(KryoNamespaces.API), | 92 | Serializer.using(Arrays.asList(KryoNamespaces.API), |
93 | - Identifier.class, | 93 | + Identifier.class); |
94 | - RegionId.class, | ||
95 | - Region.class, | ||
96 | - DefaultRegion.class, | ||
97 | - Region.Type.class); | ||
98 | 94 | ||
99 | regionsRepo = storageService.<RegionId, Region>consistentMapBuilder() | 95 | regionsRepo = storageService.<RegionId, Region>consistentMapBuilder() |
100 | .withSerializer(serializer) | 96 | .withSerializer(serializer) | ... | ... |
-
Please register or login to post a comment