commit | 3cc190759e9570cf30294f7015d7a1769ac2b628 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Tue Oct 07 17:33:23 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Tue Oct 07 17:33:23 2014 -0700 |
tree | 46e6b85df9f9cc0047061f2f3eaf79f44d816698 | |
parent | 24b2e2ae8e776e10a410fa722eb61329822c6e21 [diff] [blame] |
Fix to make things serializable Change-Id: Id6ec282d72065241f8942c2b169311de5710a6b7
diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortStatusEvent.java b/core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortStatusEvent.java index 0bdfdbf..7d3854b 100644 --- a/core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortStatusEvent.java +++ b/core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortStatusEvent.java
@@ -35,4 +35,11 @@ public Timestamped<PortDescription> portDescription() { return portDescription; } + + // for serializer + protected InternalPortStatusEvent() { + this.providerId = null; + this.deviceId = null; + this.portDescription = null; + } }