commit | cbcc02b65593d7c256e8e2bb4e0ae874adc928d6 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu Mar 31 13:22:42 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Mar 31 21:48:40 2016 +0000 |
tree | 25eaa834c033a9300e9e1f69dba9c1416b47da0f | |
parent | 17c09dabbfbb4612f6fa0c11446f8ff23ed29e7a [diff] |
Make field defined as final if possible Change-Id: I74acbf5cde94b9c4287d9e907e8511981b436543
diff --git a/core/api/src/main/java/org/onosproject/net/intent/IntentData.java b/core/api/src/main/java/org/onosproject/net/intent/IntentData.java index 743e349..5ae9214 100644 --- a/core/api/src/main/java/org/onosproject/net/intent/IntentData.java +++ b/core/api/src/main/java/org/onosproject/net/intent/IntentData.java
@@ -44,7 +44,7 @@ private final IntentState request; //TODO perhaps we want a full fledged object for requests private IntentState state; - private Timestamp version; + private final Timestamp version; private NodeId origin; private int errorCount; @@ -121,6 +121,7 @@ protected IntentData() { intent = null; request = null; + version = null; } /**