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/MatchActionId.java b/src/main/java/net/onrc/onos/core/matchaction/MatchActionId.java index 0bddffa..bea973e 100644 --- a/src/main/java/net/onrc/onos/core/matchaction/MatchActionId.java +++ b/src/main/java/net/onrc/onos/core/matchaction/MatchActionId.java
@@ -20,6 +20,13 @@ } /** + * no-arg constructor for Kryo. + */ + protected MatchActionId() { + value = -1; + } + + /** * Returns the MatchActionId as a long. * * @return MatchAction ID