commit | 26cc18073678ffca5db4a5ab054535f794f45f37 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri Jan 15 12:40:43 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Jan 15 21:01:15 2016 +0000 |
tree | 36dbef31f06f5cd455325d1f0d28de6e60c94a64 | |
parent | bb424233dfb86fa406fd7f531e91537b7ad7f896 [diff] |
Restrict class visibility Change-Id: I8dfc35cd811045b698c8e05c2dff71b6fff38acc
diff --git a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionId.java b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionId.java index f6cd198..cd2b102 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionId.java +++ b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/PartitionId.java
@@ -23,7 +23,7 @@ * Identifies a partition of the intent keyspace which will be assigned to and * processed by a single ONOS instance at a time. */ -public class PartitionId { +final class PartitionId { private final int id; /** @@ -40,7 +40,7 @@ * * @return ID value */ - public int value() { + int value() { return id; }