Add checkstyle to plugin-shell
authorSam Hague <shague@redhat.com>
Wed, 19 Nov 2014 01:35:54 +0000 (20:35 -0500)
committerSam Hague <shague@redhat.com>
Wed, 19 Nov 2014 01:35:54 +0000 (20:35 -0500)
Change-Id: I0f1f3bee18eb8b706ae0e04fc540cf1ad1523a35
Signed-off-by: Sam Hague <shague@redhat.com>
plugin-shell/pom.xml
plugin-shell/src/main/java/org/opendaylight/ovsdb/plugin/shell/PrintCache.java

index 9d8b19bc0979eb107b19b218c17f0035dfc9cc46..2ad31953dd880b488f009a835623e07c64b69c45 100644 (file)
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+      </plugin>
       <plugin>
         <groupId>org.jacoco</groupId>
         <artifactId>jacoco-maven-plugin</artifactId>
index 4140d82a196f832fcde6295a798977acb0e8a901..9dc951db5fc0eac913ce9c041ff449eed4e2530f 100644 (file)
@@ -9,15 +9,10 @@
  */
 package org.opendaylight.ovsdb.plugin.shell;
 
-import java.util.Collection;
-import java.util.concurrent.ConcurrentMap;
-
 import org.apache.felix.gogo.commands.Argument;
 import org.apache.felix.gogo.commands.Command;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
 import org.opendaylight.controller.sal.core.Node;
-import org.opendaylight.ovsdb.lib.notation.Column;
-import org.opendaylight.ovsdb.lib.notation.Row;
 import org.opendaylight.ovsdb.plugin.api.OvsdbInventoryService;
 
 @Command(scope = "ovs", name = "printCache", description="Prints OVSDB Cache")