Fix compilation warnings: replace deprecated org.apache.felix classes 47/13747/1
authorGary Wu <gary.wu@gmail.com>
Thu, 18 Dec 2014 22:12:17 +0000 (14:12 -0800)
committerGary Wu <gary.wu@gmail.com>
Thu, 18 Dec 2014 22:12:17 +0000 (14:12 -0800)
Replace deprecated org.apache.felix.gogo.commands.Command
with org.apache.karaf.shell.commands.Command.

Replace deprecated org.apache.felix.gogo.commands.Argument
with org.apache.karaf.shell.commands.Argument.

Change-Id: If858e2a6937b50c517650672b8a138cc218b907c
Signed-off-by: Gary Wu <gary.wu@gmail.com>
25 files changed:
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/AddContainer.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/AddContainerEntry.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/AddContainerFlow.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/ContainermgrGetAuthorizedGroups.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/ContainermgrGetAuthorizedResources.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/ContainermgrGetResourcesForGroup.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/ContainermgrGetRoles.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/ContainermgrGetUserLevel.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/ContainermgrGetUserResources.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/CreateContainer.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/Pfc.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/Psc.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/Psd.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/Psm.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/Psp.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/RemoveContainer.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/RemoveContainerEntry.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/RemoveContainerFlow.java
opendaylight/adsal/containermanager/shell/src/main/java/org/opendaylight/controller/containermanager/shell/SaveConfig.java
opendaylight/adsal/hosttracker/shell/src/main/java/org/opendaylight/controller/hosttracker/shell/DumpFailedARPReqList.java
opendaylight/adsal/hosttracker/shell/src/main/java/org/opendaylight/controller/hosttracker/shell/DumpPendingARPReqList.java
opendaylight/adsal/topologymanager/shell/src/main/java/org/opendaylight/controller/topologymanager/shell/AddUserLink.java
opendaylight/adsal/topologymanager/shell/src/main/java/org/opendaylight/controller/topologymanager/shell/DeleteUserLink.java
opendaylight/adsal/topologymanager/shell/src/main/java/org/opendaylight/controller/topologymanager/shell/PrintNodeEdges.java
opendaylight/adsal/topologymanager/shell/src/main/java/org/opendaylight/controller/topologymanager/shell/PrintUserLink.java

index e87682e..2b75d54 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index b7ee4bd..936e1d5 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 03ed94d..bbfbc2f 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index f78b856..72f82fd 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 1ac50fa..d625d09 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index bbccb65..e21eed6 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 9ee607a..e47cc12 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 6a281bd..da19499 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index ef51563..0f74d40 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 62b4c9a..72ee7f2 100644 (file)
@@ -1,6 +1,6 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 83e6496..6604748 100644 (file)
@@ -1,6 +1,6 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index ff8a024..c637048 100644 (file)
@@ -1,6 +1,6 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index a7c3549..ca5d96b 100644 (file)
@@ -1,6 +1,6 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index d221c83..a38c5ab 100644 (file)
@@ -1,6 +1,6 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 997ef67..0c6322a 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 9413842..c126a03 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index 94cbb19..8ba532a 100644 (file)
@@ -1,7 +1,7 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index b96f769..c4b7a9c 100644 (file)
@@ -1,6 +1,6 @@
 package org.opendaylight.controller.containermanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.containermanager.IContainerManagerShell;
 
index ec9971f..cb57b44 100644 (file)
@@ -7,7 +7,7 @@ package org.opendaylight.controller.hosttracker.shell;
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.hosttracker.IHostTrackerShell;
 
index 7f52a55..fafc48f 100644 (file)
@@ -7,7 +7,7 @@ package org.opendaylight.controller.hosttracker.shell;
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.hosttracker.IHostTrackerShell;
 
index 1565a87..92467c9 100644 (file)
@@ -7,8 +7,8 @@
 */
 package org.opendaylight.controller.topologymanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.topologymanager.ITopologyManagerShell;
 
index b226c3c..2c3e93c 100644 (file)
@@ -7,8 +7,8 @@
 */
 package org.opendaylight.controller.topologymanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
-import org.apache.felix.gogo.commands.Argument;
+import org.apache.karaf.shell.commands.Command;
+import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.topologymanager.ITopologyManagerShell;
 
index 9c5e806..4a65a45 100644 (file)
@@ -7,7 +7,7 @@
 */
 package org.opendaylight.controller.topologymanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.topologymanager.ITopologyManagerShell;
 
index df7ab35..e0976b0 100644 (file)
@@ -7,7 +7,7 @@
 */
 package org.opendaylight.controller.topologymanager.shell;
 
-import org.apache.felix.gogo.commands.Command;
+import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.topologymanager.ITopologyManagerShell;