commit | 0efc9062d0ea5014082a25bafcca50b69eb0efe0 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Tue Sep 02 14:47:28 2014 -0700 |
committer | Saurav Das <sauravdas@alumni.stanford.edu> | Fri Sep 05 11:47:26 2014 -0700 |
tree | 0b8fe12632f824ac3a788a52ce1710c9fe71d4aa | |
parent | d8fd2f54639bd71334ec21211e3e2d014d626168 [diff] [blame] |
Updating MatchAction objects with no-arg constructors and registering them with Kryo Change-Id: I3512b2e99624c3f496d786ea99133b385a35094e
diff --git a/src/main/java/net/onrc/onos/core/matchaction/MatchActionOperationsId.java b/src/main/java/net/onrc/onos/core/matchaction/MatchActionOperationsId.java index e346732..93f2ec7 100644 --- a/src/main/java/net/onrc/onos/core/matchaction/MatchActionOperationsId.java +++ b/src/main/java/net/onrc/onos/core/matchaction/MatchActionOperationsId.java
@@ -19,6 +19,13 @@ } /** + * no-arg instructor for Kryo. + */ + protected MatchActionOperationsId() { + id = -1; + } + + /** * Gets the identifier for the Operations object. * * @return Operations object identifier as a string