Merge "Remove public from interface methods. Cleans sonar warnings."
authorAlessandro Boch <aboch@cisco.com>
Wed, 11 Sep 2013 15:31:00 +0000 (15:31 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 11 Sep 2013 15:31:00 +0000 (15:31 +0000)
opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/ICoordinatorChangeAware.java
opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/IListenRoleChange.java
opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationAwareCommon.java
opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationServiceCommon.java
opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IForwardingStaticRouting.java
opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IStaticRoutingAware.java
opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/PortGroupProvider.java

index 4a92aca6049d76bd1e1694667cb1c80bf73d4ae8..5d0edd8d009ea03280fc1ce3f70027bf4b722644 100644 (file)
@@ -28,5 +28,5 @@ public interface ICoordinatorChangeAware {
      * Function that will be called when there is the event of
      * coordinator change in the cluster.
      */
-    public void coordinatorChanged();
+    void coordinatorChanged();
 }
index e5c7a8839e9ef4c76e6c7be6e36584b096cdeb10..b8798e6705b48997cf561acea0db707e25c8665c 100644 (file)
@@ -37,5 +37,5 @@ public interface IListenRoleChange {
      * active-standby milestone is reached, after will be removed.
      *
      */
-    public void newActiveAvailable();
+    void newActiveAvailable();
 }
index 57a648bf69663da84a0a26f28c60252420c6f808..f06dcb3296dfb4ef402e49a7e86e07e5d5e0232f 100644 (file)
@@ -22,5 +22,5 @@ public interface IConfigurationAwareCommon {
     /**
      * Trigger from configuration component to persist the configuration state.
      */
-    public Status saveConfiguration();
+    Status saveConfiguration();
 }
index fc9c5ac9777d20b55618e310b592b7170b1a2531..c76e3770264aecbf32499eb876502ea9b6daccf1 100644 (file)
@@ -17,5 +17,5 @@ import org.opendaylight.controller.sal.utils.Status;
  *
  */
 public interface IConfigurationServiceCommon {
-    public Status saveConfigurations();
+    Status saveConfigurations();
 }
index 0166d279f66528135322f3c8d250ec381bd2de1a..03d9453126d89c8c5d9074bc7ec7b643c089d9a3 100644 (file)
@@ -30,13 +30,13 @@ public interface IForwardingStaticRouting {
      * @param ipAddress (InetAddress) the IP address
      * @return StaticRoute
      */
-    public StaticRoute getBestMatchStaticRoute(InetAddress ipAddress);
+    StaticRoute getBestMatchStaticRoute(InetAddress ipAddress);
 
     /**
      * Returns all the StaticRouteConfig
      * @return all the StaticRouteConfig
      */
-    public ConcurrentMap<String, StaticRouteConfig> getStaticRouteConfigs();
+    ConcurrentMap<String, StaticRouteConfig> getStaticRouteConfigs();
 
     /**
      * Adds a StaticRouteConfig
@@ -44,7 +44,7 @@ public interface IForwardingStaticRouting {
      * @return a text string indicating the result of the operation..
      * If the operation is successful, the return string will be "SUCCESS"
      */
-    public Status addStaticRoute(StaticRouteConfig config);
+    Status addStaticRoute(StaticRouteConfig config);
 
     /**
      * Removes  the named StaticRouteConfig
@@ -52,5 +52,5 @@ public interface IForwardingStaticRouting {
      * @return a text string indicating the result of the operation.
      * If the operation is successful, the return string will be "SUCCESS"
      */
-    public Status removeStaticRoute(String name);
+    Status removeStaticRoute(String name);
 }
index f650ee9e7748cc1a02a0a73191f9a2f22f0aea46..fb4863b1e04e2c0674068f224b65348d202044cd 100644 (file)
@@ -21,5 +21,5 @@ public interface IStaticRoutingAware {
      * @param s: StaticRoute
      * @param added: boolean true if the static route is added,
      */
-    public void staticRouteUpdate(StaticRoute s, boolean added);
+    void staticRouteUpdate(StaticRoute s, boolean added);
 }
index 7b53eb0b8aa5b157555c87577eed9b9c27cf1eb0..dc4f13f497f5e5a0fce7b8035b71cd40512834b1 100644 (file)
@@ -30,7 +30,7 @@ public interface PortGroupProvider {
      *            New PortGroupConfig object created by user Configuration.
      * @return true if successful. false otherwise.
      */
-    public boolean createPortGroupConfig(PortGroupConfig config);
+    boolean createPortGroupConfig(PortGroupConfig config);
 
     /**
      * This method is invoked by the Controller towards the Provider when an
@@ -40,7 +40,7 @@ public interface PortGroupProvider {
      *            Existing Port Group Configuration deleted by the user.
      * @return true if successful. false otherwise.
      */
-    public boolean deletePortGroupConfig(PortGroupConfig config);
+    boolean deletePortGroupConfig(PortGroupConfig config);
 
     /**
      * Returns the complete mapping database corresponds to a PortGroup
@@ -54,7 +54,7 @@ public interface PortGroupProvider {
      * @return Database of Switch-Id to PortGroup mapping that corresponds to
      *         the Port Group User Configuration.
      */
-    public Map<Node, PortGroup> getPortGroupData(PortGroupConfig config);
+    Map<Node, PortGroup> getPortGroupData(PortGroupConfig config);
 
     /**
      * Returns PortGroup data for a given Switch and user Configuration. Its the
@@ -70,7 +70,7 @@ public interface PortGroupProvider {
      * @return PortGroup data for a given Openflow switch.
      * @see PortGroup
      */
-    public PortGroup getPortGroupData(PortGroupConfig config, long matrixSwitchId);
+    PortGroup getPortGroupData(PortGroupConfig config, long matrixSwitchId);
 
     /**
      * Registers a Listener for Port Group membership changes based on Custom
@@ -80,7 +80,7 @@ public interface PortGroupProvider {
      *            A Controller module that listens to events from the Custom
      *            Port Grouping Application.
      */
-    public void registerPortGroupChange(PortGroupChangeListener listener);
+    void registerPortGroupChange(PortGroupChangeListener listener);
 
     /**
      * Application returns an Usage string for the Match Criteria User
@@ -91,7 +91,7 @@ public interface PortGroupProvider {
      *
      * @return Usage string.
      */
-    public String getApplicationDrivenMatchCriteriaUsage();
+    String getApplicationDrivenMatchCriteriaUsage();
 
     /**
      * Returns the name of the Custom Application that implements
@@ -99,7 +99,7 @@ public interface PortGroupProvider {
      *
      * @return Provider Name
      */
-    public String getProviderName();
+    String getProviderName();
 
     /**
      * Controller uses this method to check with the Provider supports the
@@ -109,5 +109,5 @@ public interface PortGroupProvider {
      * @return true if the Provider supports the matchCriteria String. false
      *         otherwise.
      */
-    public boolean isMatchCriteriaSupported(String matchCriteria);
+    boolean isMatchCriteriaSupported(String matchCriteria);
 }