From: Alessandro Boch Date: Wed, 11 Sep 2013 15:31:00 +0000 (+0000) Subject: Merge "Remove public from interface methods. Cleans sonar warnings." X-Git-Tag: releasepom-0.1.0~110 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=e7342a8b0e42dcaccfa0a3af8bb70ece3f9d2189;hp=01877541f80c4d7b01ef3e6f31abace639c0d051 Merge "Remove public from interface methods. Cleans sonar warnings." --- diff --git a/opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/ICoordinatorChangeAware.java b/opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/ICoordinatorChangeAware.java index 4a92aca604..5d0edd8d00 100644 --- a/opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/ICoordinatorChangeAware.java +++ b/opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/ICoordinatorChangeAware.java @@ -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(); } diff --git a/opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/IListenRoleChange.java b/opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/IListenRoleChange.java index e5c7a8839e..b8798e6705 100644 --- a/opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/IListenRoleChange.java +++ b/opendaylight/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/IListenRoleChange.java @@ -37,5 +37,5 @@ public interface IListenRoleChange { * active-standby milestone is reached, after will be removed. * */ - public void newActiveAvailable(); + void newActiveAvailable(); } diff --git a/opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationAwareCommon.java b/opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationAwareCommon.java index 57a648bf69..f06dcb3296 100644 --- a/opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationAwareCommon.java +++ b/opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationAwareCommon.java @@ -22,5 +22,5 @@ public interface IConfigurationAwareCommon { /** * Trigger from configuration component to persist the configuration state. */ - public Status saveConfiguration(); + Status saveConfiguration(); } diff --git a/opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationServiceCommon.java b/opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationServiceCommon.java index fc9c5ac977..c76e377026 100644 --- a/opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationServiceCommon.java +++ b/opendaylight/configuration/api/src/main/java/org/opendaylight/controller/configuration/IConfigurationServiceCommon.java @@ -17,5 +17,5 @@ import org.opendaylight.controller.sal.utils.Status; * */ public interface IConfigurationServiceCommon { - public Status saveConfigurations(); + Status saveConfigurations(); } diff --git a/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IForwardingStaticRouting.java b/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IForwardingStaticRouting.java index 0166d279f6..03d9453126 100644 --- a/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IForwardingStaticRouting.java +++ b/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IForwardingStaticRouting.java @@ -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 getStaticRouteConfigs(); + ConcurrentMap 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); } diff --git a/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IStaticRoutingAware.java b/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IStaticRoutingAware.java index f650ee9e77..fb4863b1e0 100644 --- a/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IStaticRoutingAware.java +++ b/opendaylight/forwarding/staticrouting/src/main/java/org/opendaylight/controller/forwarding/staticrouting/IStaticRoutingAware.java @@ -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); } diff --git a/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/PortGroupProvider.java b/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/PortGroupProvider.java index 7b53eb0b8a..dc4f13f497 100644 --- a/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/PortGroupProvider.java +++ b/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/PortGroupProvider.java @@ -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 getPortGroupData(PortGroupConfig config); + Map 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); }