Add checkstyle rule to prevent empty statements (;) 48/2448/2
authorAlissa Bonas <abonas@redhat.com>
Wed, 6 Nov 2013 16:21:19 +0000 (18:21 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 7 Nov 2013 09:35:22 +0000 (09:35 +0000)
Change-Id: Id8b34fde64988326cf6cab494019f99d2d61cbc5
Signed-off-by: Alissa Bonas <abonas@redhat.com>
opendaylight/commons/checkstyle/src/main/resources/controller/checkstyle.xml
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Bandwidth.java

index c810d65..57f169d 100644 (file)
@@ -18,6 +18,7 @@
        <module name="UnusedImports"/>\r
        <module name="AvoidStarImport"/>\r
        <module name="UpperEll"/>\r
+       <module name="EmptyStatement"/>\r
     </module>\r
 \r
 </module>\r
index 5083cf5..30f2779 100644 (file)
@@ -52,7 +52,6 @@ public class Bandwidth extends Property {
     private Bandwidth() {
         super(BandwidthPropName);
         this.bandwidthValue = BWUNK;
-        ;
     }
 
     public Bandwidth(long bandwidth) {