commit | bc36560205923982ea132091d6019fb46ca38d19 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Mon Aug 15 14:14:05 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Aug 17 16:36:19 2016 +0000 |
tree | 477758874b447bb55ff40e32afd009eb3bc4b483 | |
parent | 695bac68ec5da46d6cefc4ef9ef2f6a6caf1f6bc [diff] |
Remove duplicate registration. - Should fix following warnings: (no name): long already registed as 7. Skipping 326. (no name): class org.onlab.packet.Ip4Address already registed as 70. Skipping 327. Change-Id: I5a3ee1a219b567617f964ddaca16b0cc9dcef5ea
diff --git a/apps/dhcp/app/src/main/java/org/onosproject/dhcp/impl/DistributedDhcpStore.java b/apps/dhcp/app/src/main/java/org/onosproject/dhcp/impl/DistributedDhcpStore.java index 38a1905..b7c5669 100644 --- a/apps/dhcp/app/src/main/java/org/onosproject/dhcp/impl/DistributedDhcpStore.java +++ b/apps/dhcp/app/src/main/java/org/onosproject/dhcp/impl/DistributedDhcpStore.java
@@ -76,10 +76,8 @@ .register(KryoNamespaces.API) .register(IpAssignment.class, IpAssignment.AssignmentStatus.class, - Date.class, - long.class, - Ip4Address.class) - .build())) + Date.class) + .build("dhcp"))) .build(); freeIPPool = storageService.<Ip4Address>setBuilder()