Remove public from definition in interface

Change-Id: I7554f04a230a7a5cc85dda4cd6b41171a523fd80
diff --git a/core/api/src/main/java/org/onosproject/net/behaviour/ConfigGetter.java b/core/api/src/main/java/org/onosproject/net/behaviour/ConfigGetter.java
index be25d22..5740f32 100644
--- a/core/api/src/main/java/org/onosproject/net/behaviour/ConfigGetter.java
+++ b/core/api/src/main/java/org/onosproject/net/behaviour/ConfigGetter.java
@@ -33,5 +33,5 @@
      * @param type the type of configuration to get (i.e. running).
      * @return string representation of the configuration or an error string.
      */
-    public String getConfiguration(String type);
+    String getConfiguration(String type);
 }
diff --git a/core/api/src/main/java/org/onosproject/net/behaviour/InterfaceConfig.java b/core/api/src/main/java/org/onosproject/net/behaviour/InterfaceConfig.java
index 6c20a96..1cd61a6 100644
--- a/core/api/src/main/java/org/onosproject/net/behaviour/InterfaceConfig.java
+++ b/core/api/src/main/java/org/onosproject/net/behaviour/InterfaceConfig.java
@@ -37,7 +37,7 @@
      * @deprecated in 1.7.0 Hummingbird release - use of addAccessMode() instead
      */
     @Deprecated
-    public boolean addAccessInterface(DeviceId deviceId, String intf, VlanId vlanId);
+    boolean addAccessInterface(DeviceId deviceId, String intf, VlanId vlanId);
 
     /**
      * Adds an access interface to a VLAN.
@@ -167,7 +167,7 @@
      * deviceId as parameter instead
      */
     @Deprecated
-    public List<DeviceInterfaceDescription> getInterfaces(DeviceId deviceId);
+    List<DeviceInterfaceDescription> getInterfaces(DeviceId deviceId);
 
     /**
      * Provides the interfaces configured on a device.
diff --git a/core/api/src/main/java/org/onosproject/store/service/DistributedPrimitive.java b/core/api/src/main/java/org/onosproject/store/service/DistributedPrimitive.java
index c8949c8..77bfd09 100644
--- a/core/api/src/main/java/org/onosproject/store/service/DistributedPrimitive.java
+++ b/core/api/src/main/java/org/onosproject/store/service/DistributedPrimitive.java
@@ -30,7 +30,7 @@
     /**
      * Type of distributed primitive.
      */
-    public enum Type {
+    enum Type {
         /**
          * Map with strong consistency semantics.
          */
@@ -80,7 +80,7 @@
     /**
      * Status of distributed primitive.
      */
-    public enum Status {
+    enum Status {
 
         /**
          * Signifies a state wherein the primitive is operating correctly and is capable of meeting the advertised