Merge "Remove redundant exception declarations"
[openflowplugin.git] / applications / reconciliation-framework / src / main / java / org / opendaylight / openflowplugin / applications / reconciliation / cli / GetRegisteredServices.java
index cea096e8157c65087b6a9cd86fc5dd05f146d569..1b7c67cfcffd515506acc81c0258e70e5df699aa 100644 (file)
@@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory;
  */
 public class GetRegisteredServices extends OsgiCommandSupport {
     private static final Logger LOG = LoggerFactory.getLogger(GetRegisteredServices.class);
-    public static final String CLI_FORMAT = "%d %-20s ";
+    private static final String CLI_FORMAT = "%d %-20s ";
 
     private ReconciliationManager reconciliationManager;
 
@@ -35,7 +35,7 @@ public class GetRegisteredServices extends OsgiCommandSupport {
     }
 
     @Override
-    protected Object doExecute() throws Exception {
+    protected Object doExecute() {
         LOG.debug("Executing getRegisteredServices to Reconciliation Framework command");
         if (reconciliationManager.getRegisteredServices().isEmpty()) {
             session.getConsole().println("No Services have registered to Reconciliation Framework");