commit | 3ca9cb6dcb56ae556471992a03278b884e2c467b | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan@onlab.us> | Tue Jul 21 11:35:44 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Jul 21 18:52:23 2015 +0000 |
tree | 7ba3a580af1e710ab516b7209e2e15e82b649f63 | |
parent | d0a97bc8185dff6d6bdf46fabb78ebd06959c234 [diff] [blame] |
Minor fixes in DatabaseProxy Change-Id: I2e1ac92a80f652acc324337383dba526e510f353
diff --git a/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java b/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java index 2f34408..6784ab3 100644 --- a/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java +++ b/core/store/serializers/src/main/java/org/onosproject/store/serializers/KryoNamespaces.java
@@ -18,6 +18,7 @@ import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Maps; import org.onlab.packet.ChassisId; import org.onlab.packet.EthType; @@ -222,6 +223,7 @@ LinkedList.class, HashSet.class ) + .register(Maps.immutableEntry("a", "b").getClass()) .register(new ArraysAsListSerializer(), Arrays.asList().getClass()) .register(Collections.singletonList(1).getClass()) .register(Duration.class)