commit | 137b5fc668739a71238b08a344db214fcee4d319 | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan@onlab.us> | Fri Feb 27 13:10:53 2015 -0800 |
committer | Madan Jampani <madan@onlab.us> | Fri Feb 27 13:10:53 2015 -0800 |
tree | 1d0ce5baec862318bd5e07df4dba1e4a7701b5a9 | |
parent | 52860be06934cfe78558e6199eed6365fef05254 [diff] |
added a default empty contructor to keep the json serializer happy Change-Id: I81ca0d8388baa9f53ea2eee3432ab6a83fb8a11f
diff --git a/core/store/dist/src/main/java/org/onosproject/store/cluster/impl/NodeInfo.java b/core/store/dist/src/main/java/org/onosproject/store/cluster/impl/NodeInfo.java index 46b53c8..d436ca7 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/cluster/impl/NodeInfo.java +++ b/core/store/dist/src/main/java/org/onosproject/store/cluster/impl/NodeInfo.java
@@ -35,6 +35,15 @@ this.tcpPort = port; } + /* + * Needed for serialization. + */ + private NodeInfo() { + id = null; + ip = null; + tcpPort = 0; + } + /** * Creates a new instance. * @param id node id