X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=pce%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fpce%2FSortPortsByName.java;h=a793e6d58439ade4920ee5de5294e6a29c64eed7;hb=98dda60c2cd59d7c7dd8dba35d7d80473862646d;hp=642df21a07103f397bf825036de5986a13efcb27;hpb=bed96a4eb1ea59f07a8d7602f792ad70854cb35c;p=transportpce.git diff --git a/pce/src/main/java/org/opendaylight/transportpce/pce/SortPortsByName.java b/pce/src/main/java/org/opendaylight/transportpce/pce/SortPortsByName.java index 642df21a0..a793e6d58 100644 --- a/pce/src/main/java/org/opendaylight/transportpce/pce/SortPortsByName.java +++ b/pce/src/main/java/org/opendaylight/transportpce/pce/SortPortsByName.java @@ -16,10 +16,12 @@ import java.util.Comparator; * @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 SortPortsByName implements Comparator, Serializable { - private static final long serialVersionUID = 1L; - @Override public int compare(String port1, String port2) { int num = extractInt(port1) - extractInt(port2);