acl-service: enable checkstyle on error 63/40763/1
authorSam Hague <shague@redhat.com>
Wed, 22 Jun 2016 19:34:23 +0000 (15:34 -0400)
committerSam Hague <shague@redhat.com>
Thu, 23 Jun 2016 11:11:59 +0000 (07:11 -0400)
Change-Id: Ia25b4961e0d1431241ae915e40a910b9240f9149
Signed-off-by: Sam Hague <shague@redhat.com>
vpnservice/aclservice/api/pom.xml
vpnservice/aclservice/impl/pom.xml
vpnservice/aclservice/impl/src/main/java/org/opendaylight/netvirt/aclservice/AclServiceProvider.java

index 3fefbbc612b640e2ad5454bb8294ace96f46bd0b..3f0db4a703c015d96ca1b3f8ee7bf97b649f4750 100644 (file)
@@ -41,4 +41,16 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <artifactId>yang-ext</artifactId>
       </dependency>
     </dependencies>
+
+    <build>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <configuration>
+            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+          </configuration>
+        </plugin>
+      </plugins>
+    </build>
 </project>
index 331d33c78eba6e087769255e02e37ba60584e81e..47401eec6d7c020870412dd1a57b107890a52039 100644 (file)
@@ -50,4 +50,16 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <version>${genius.version}</version>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>
index 896fa2790bdb7718f11e51520e25bd08eb69b92a..cc34381dc967a03b311cf4497710739a0b8b4017 100644 (file)
@@ -8,8 +8,8 @@
 
 package org.opendaylight.netvirt.aclservice;
 
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
+import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
 import org.opendaylight.controller.sal.binding.api.BindingAwareProvider;
 import org.opendaylight.netvirt.aclservice.api.AclService;
 
@@ -33,5 +33,5 @@ public class AclServiceProvider implements BindingAwareProvider, AclService, Aut
     @Override
     public void close() throws Exception {
         LOG.info("ACL Service closed");
-     }
+    }
 }
\ No newline at end of file