commit | 22e0f2f946cbc4573810ee1995f0a1f49ef6872b | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Fri Sep 26 16:30:53 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Fri Sep 26 16:30:53 2014 -0700 |
tree | d7e98bd623e2b02a209313d82cbb9d41fdcc6a1d | |
parent | 14dc4d012d17a15d57c2a476abb747f46a512258 [diff] |
MastershipTerm should be immutable Change-Id: Ifc7484caa80fa21b2b4594389dec5c4d0c112c0f
diff --git a/core/api/src/main/java/org/onlab/onos/cluster/MastershipTerm.java b/core/api/src/main/java/org/onlab/onos/cluster/MastershipTerm.java index f015ae5..71d08f2 100644 --- a/core/api/src/main/java/org/onlab/onos/cluster/MastershipTerm.java +++ b/core/api/src/main/java/org/onlab/onos/cluster/MastershipTerm.java
@@ -5,7 +5,7 @@ public final class MastershipTerm { private final NodeId master; - private int termNumber; + private final int termNumber; private MastershipTerm(NodeId master, int term) { this.master = master;