commit | 67a527feafec7da442caa6ef95c4fa74420835d0 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Thu Oct 02 22:23:54 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Thu Oct 02 23:01:11 2014 -0700 |
tree | 0f278b7895afe5334087556d325ba72f93536aed | |
parent | c99a8d3fca84d05a576f97461bd50b0d35082895 [diff] [blame] |
implemented GossipDeviceStore with multi-provider, annotation support Change-Id: I1953bdc37b28af79703ebcfc9201a71a2af49ab2
diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/impl/OnosTimestamp.java b/core/store/dist/src/main/java/org/onlab/onos/store/impl/OnosTimestamp.java index 2005582..3039f32 100644 --- a/core/store/dist/src/main/java/org/onlab/onos/store/impl/OnosTimestamp.java +++ b/core/store/dist/src/main/java/org/onlab/onos/store/impl/OnosTimestamp.java
@@ -84,4 +84,11 @@ public int sequenceNumber() { return sequenceNumber; } + + // Default constructor for serialization + @Deprecated + protected OnosTimestamp() { + this.termNumber = -1; + this.sequenceNumber = -1; + } }