import java.io.Serializable;
import java.util.Comparator;
-
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);