Fix potential performance problems reported by findbugs
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / GroupConvertor.java
index 765363a8db4f7e49119db73cf9a14b4b464b0897..5647d16e4f8f28bb47347197ea5e22cf5d371c03 100644 (file)
@@ -41,7 +41,7 @@ public final class GroupConvertor {
     private static final Logger logger = LoggerFactory.getLogger(GroupConvertor.class);
     private static final String PREFIX_SEPARATOR = "/";
 
-    private static final  Integer DEFAULT_WEIGHT = new Integer(0);
+    private static final Integer DEFAULT_WEIGHT = 0;
     private static final Long OFPP_ANY = Long.parseLong("ffffffff", 16);
     private static final Long DEFAULT_WATCH_PORT = OFPP_ANY;
     private static final Long OFPG_ANY = Long.parseLong("ffffffff", 16);