checkstyle cleanup for netvirtsfc
authorSam Hague <shague@redhat.com>
Tue, 20 Oct 2015 21:35:03 +0000 (17:35 -0400)
committerSam Hague <shague@redhat.com>
Tue, 20 Oct 2015 21:35:03 +0000 (17:35 -0400)
Change-Id: Icd3d879830bde1ea0f7867c28c7aeb40895ebf14
Signed-off-by: Sam Hague <shague@redhat.com>
openstack/net-virt-sfc/impl/pom.xml
openstack/net-virt-sfc/impl/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/sfc/openflow13/NetvirtSfcOF13Provider.java
openstack/net-virt-sfc/it/pom.xml

index 7795793b612ea2b6079ced16c06f8581327b7683..80f9a173c98dee73663f28263858bb078b49d53e 100644 (file)
@@ -159,7 +159,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
-          <propertyExpansion>checkstyle.checker.severity=error</propertyExpansion>
+          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
         </configuration>
       </plugin>
       <plugin>
index 24fb0913733a28a7be9a12ea3ed0400caa8fff60..a44b62360f5233fc6c130ada8fbfd7e5dc171cb1 100644 (file)
@@ -131,12 +131,12 @@ public class NetvirtSfcOF13Provider implements INetvirtSfcOF13Provider{
             Iterator<Ace> itr = acl.getAccessListEntries().getAce().iterator();
             while (itr.hasNext()) {
                 Ace entry = itr.next();
-                programOFRules(entry, datapathId, true);
+                programOfRules(entry, datapathId, true);
             }
         }
     }
 
-    private void programOFRules(Ace entry, String datapathId, boolean write) {
+    private void programOfRules(Ace entry, String datapathId, boolean write) {
         NodeBuilder nodeBuilder = new NodeBuilder();
         nodeBuilder.setId(new NodeId(Constants.OPENFLOW_NODE_PREFIX + datapathId));
         nodeBuilder.setKey(new NodeKey(nodeBuilder.getId()));
index d8467c53487c9711d9032c9b0f47f4effefcfe1c..a9dc254eb8da3537d5e12d93021c33bd993593fc 100644 (file)
@@ -80,12 +80,19 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <artifactId>jacoco-maven-plugin</artifactId>
       </plugin>
       <plugin>
-        <artifactId>maven-failsafe-plugin</artifactId>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
+          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-failsafe-plugin</artifactId>
+        <!--<configuration>
           <excludes>
             <exclude>**/NetvirtSfcIT.java</exclude>
           </excludes>
-        </configuration>
+        </configuration>-->
       </plugin>
     </plugins>
   </build>