Committed by
Gerrit Code Review
Restrict class visibility
Change-Id: I8dfc35cd811045b698c8e05c2dff71b6fff38acc
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -23,7 +23,7 @@ import java.util.Objects; | ... | @@ -23,7 +23,7 @@ import java.util.Objects; |
23 | * Identifies a partition of the intent keyspace which will be assigned to and | 23 | * Identifies a partition of the intent keyspace which will be assigned to and |
24 | * processed by a single ONOS instance at a time. | 24 | * processed by a single ONOS instance at a time. |
25 | */ | 25 | */ |
26 | -public class PartitionId { | 26 | +final class PartitionId { |
27 | private final int id; | 27 | private final int id; |
28 | 28 | ||
29 | /** | 29 | /** |
... | @@ -40,7 +40,7 @@ public class PartitionId { | ... | @@ -40,7 +40,7 @@ public class PartitionId { |
40 | * | 40 | * |
41 | * @return ID value | 41 | * @return ID value |
42 | */ | 42 | */ |
43 | - public int value() { | 43 | + int value() { |
44 | return id; | 44 | return id; |
45 | } | 45 | } |
46 | 46 | ... | ... |
-
Please register or login to post a comment