commit | 1674fb395c587e9b5c2de54ca2d92a1dfd31f1dc | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <shimizu.sho@jp.fujitsu.com> | Wed Aug 20 14:44:31 2014 -0700 |
committer | Saurav Das <sauravdas@alumni.stanford.edu> | Fri Sep 05 11:47:21 2014 -0700 |
tree | ab16ca5970ada58d83aa6641054b7a2fcb90d127 | |
parent | c127a5a3bd6441c3ac5c75c65fb6f43d320270f8 [diff] [blame] |
Support Kryo serialization for intent related types - Implement the protected constructors - Register the types in KryoFactory Change-Id: I14214ed1703a8e4b3145625732c74600fc0aba06
diff --git a/src/main/java/net/onrc/onos/api/newintent/PathIntent.java b/src/main/java/net/onrc/onos/api/newintent/PathIntent.java index db11f4c..5b9a42f 100644 --- a/src/main/java/net/onrc/onos/api/newintent/PathIntent.java +++ b/src/main/java/net/onrc/onos/api/newintent/PathIntent.java
@@ -37,6 +37,11 @@ this.path = ImmutableList.copyOf(checkNotNull(path)); } + protected PathIntent() { + super(); + this.path = null; + } + /** * Returns the links which the traffic goes along. *