Remove "public" to follow our convention
Change-Id: Ic5fa8744cbcb4c704780c8467ae0f31fce3327ce
diff --git a/core/api/src/main/java/org/onosproject/net/group/Group.java b/core/api/src/main/java/org/onosproject/net/group/Group.java
index b7872de..776d24f 100644
--- a/core/api/src/main/java/org/onosproject/net/group/Group.java
+++ b/core/api/src/main/java/org/onosproject/net/group/Group.java
@@ -24,7 +24,7 @@
/**
* State of the group object in ONOS.
*/
- public enum GroupState {
+ enum GroupState {
/**
* Group create request is queued as group AUDIT is in progress.
*/
diff --git a/core/api/src/main/java/org/onosproject/net/group/GroupBucket.java b/core/api/src/main/java/org/onosproject/net/group/GroupBucket.java
index 401c769..a503c15 100644
--- a/core/api/src/main/java/org/onosproject/net/group/GroupBucket.java
+++ b/core/api/src/main/java/org/onosproject/net/group/GroupBucket.java
@@ -32,21 +32,21 @@
*
* @return GroupType group type
*/
- public GroupDescription.Type type();
+ GroupDescription.Type type();
/**
* Returns list of Traffic instructions that are part of the bucket.
*
* @return TrafficTreatment traffic instruction list
*/
- public TrafficTreatment treatment();
+ TrafficTreatment treatment();
/**
* Returns weight of select group bucket.
*
* @return short weight associated with a bucket
*/
- public short weight();
+ short weight();
/**
* Returns port number used for liveness detection for a
@@ -54,7 +54,7 @@
*
* @return PortNumber port number used for liveness detection
*/
- public PortNumber watchPort();
+ PortNumber watchPort();
/**
* Returns group identifier used for liveness detection for a
@@ -62,7 +62,7 @@
*
* @return GroupId group identifier to be used for liveness detection
*/
- public GroupId watchGroup();
+ GroupId watchGroup();
/**
* Returns the number of packets processed by this group bucket.
diff --git a/core/api/src/main/java/org/onosproject/net/group/GroupDescription.java b/core/api/src/main/java/org/onosproject/net/group/GroupDescription.java
index 4a939bd..671b9a5 100644
--- a/core/api/src/main/java/org/onosproject/net/group/GroupDescription.java
+++ b/core/api/src/main/java/org/onosproject/net/group/GroupDescription.java
@@ -27,7 +27,7 @@
/**
* Types of the group supported by ONOS.
*/
- public enum Type {
+ enum Type {
/**
* Load-balancing among different buckets in a group.
*/
@@ -51,28 +51,28 @@
*
* @return GroupType group type
*/
- public Type type();
+ Type type();
/**
* Returns device identifier on which this group object is created.
*
* @return DeviceId device identifier
*/
- public DeviceId deviceId();
+ DeviceId deviceId();
/**
* Returns application identifier that has created this group object.
*
* @return ApplicationId application identifier
*/
- public ApplicationId appId();
+ ApplicationId appId();
/**
* Returns application cookie associated with a group object.
*
* @return GroupKey application cookie
*/
- public GroupKey appCookie();
+ GroupKey appCookie();
/**
* Returns groupId passed in by caller.
@@ -80,12 +80,12 @@
* @return Integer group id passed in by caller. May be null if caller
* passed in null to let groupService determin the group id.
*/
- public Integer givenGroupId();
+ Integer givenGroupId();
/**
* Returns group buckets of a group.
*
* @return GroupBuckets immutable list of group bucket
*/
- public GroupBuckets buckets();
+ GroupBuckets buckets();
}
diff --git a/core/api/src/main/java/org/onosproject/net/group/GroupKey.java b/core/api/src/main/java/org/onosproject/net/group/GroupKey.java
index 9c87b83..a63bee2 100644
--- a/core/api/src/main/java/org/onosproject/net/group/GroupKey.java
+++ b/core/api/src/main/java/org/onosproject/net/group/GroupKey.java
@@ -27,5 +27,5 @@
*
* @return byte array
*/
- public byte[] key();
+ byte[] key();
}
diff --git a/core/api/src/main/java/org/onosproject/net/group/GroupStore.java b/core/api/src/main/java/org/onosproject/net/group/GroupStore.java
index 7ccab8a..0821604 100644
--- a/core/api/src/main/java/org/onosproject/net/group/GroupStore.java
+++ b/core/api/src/main/java/org/onosproject/net/group/GroupStore.java
@@ -24,7 +24,7 @@
*/
public interface GroupStore extends Store<GroupEvent, GroupStoreDelegate> {
- public enum UpdateType {
+ enum UpdateType {
/**
* Modify existing group entry by adding provided information.
*/