Committed by
Gerrit Code Review
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
Showing
1 changed file
with
2 additions
and
4 deletions
... | @@ -76,10 +76,8 @@ public class DistributedDhcpStore implements DhcpStore { | ... | @@ -76,10 +76,8 @@ public class DistributedDhcpStore implements DhcpStore { |
76 | .register(KryoNamespaces.API) | 76 | .register(KryoNamespaces.API) |
77 | .register(IpAssignment.class, | 77 | .register(IpAssignment.class, |
78 | IpAssignment.AssignmentStatus.class, | 78 | IpAssignment.AssignmentStatus.class, |
79 | - Date.class, | 79 | + Date.class) |
80 | - long.class, | 80 | + .build("dhcp"))) |
81 | - Ip4Address.class) | ||
82 | - .build())) | ||
83 | .build(); | 81 | .build(); |
84 | 82 | ||
85 | freeIPPool = storageService.<Ip4Address>setBuilder() | 83 | freeIPPool = storageService.<Ip4Address>setBuilder() | ... | ... |
-
Please register or login to post a comment