added a default empty contructor to keep the json serializer happy
Change-Id: I81ca0d8388baa9f53ea2eee3432ab6a83fb8a11f
Showing
1 changed file
with
9 additions
and
0 deletions
| ... | @@ -35,6 +35,15 @@ public final class NodeInfo { | ... | @@ -35,6 +35,15 @@ public final class NodeInfo { |
| 35 | this.tcpPort = port; | 35 | this.tcpPort = port; |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | + /* | ||
| 39 | + * Needed for serialization. | ||
| 40 | + */ | ||
| 41 | + private NodeInfo() { | ||
| 42 | + id = null; | ||
| 43 | + ip = null; | ||
| 44 | + tcpPort = 0; | ||
| 45 | + } | ||
| 46 | + | ||
| 38 | /** | 47 | /** |
| 39 | * Creates a new instance. | 48 | * Creates a new instance. |
| 40 | * @param id node id | 49 | * @param id node id | ... | ... |
-
Please register or login to post a comment