PortMapping Refactoring step 2
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / mapping / SortPort221ByName.java
index f58d91580b89d2c5ca95c6971cc1f92c57003997..de16646ff313dced3c76c86193dc9a1b27d234b2 100644 (file)
@@ -9,7 +9,6 @@ package org.opendaylight.transportpce.common.mapping;
 
 import java.io.Serializable;
 import java.util.Comparator;
-
 import org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.Port;
 
 
@@ -19,10 +18,12 @@ import org.opendaylight.yang.gen.v1.http.org.openroadm.device.rev181019.Port;
  * @author Martial Coulibaly (martial.coulibaly@gfi.com) on behalf of Orange
  *
  */
+@SuppressWarnings("serial")
+@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(
+    value = "SE_NO_SERIALVERSIONID",
+    justification = "https://github.com/rzwitserloot/lombok/wiki/WHY-NOT:-serialVersionUID")
 public class SortPort221ByName implements Comparator<Port>, Serializable {
 
-    private static final long serialVersionUID = 1L;
-
     @Override
     public int compare(Port port1, Port port2) {
         return extractInt(port1) - extractInt(port2);