Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
do not explicit serialVersionUID anymore
[transportpce.git]
/
pce
/
src
/
main
/
java
/
org
/
opendaylight
/
transportpce
/
pce
/
SortPortsByName.java
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 642df21a07103f397bf825036de5986a13efcb27..317451b595aa0e2ab779d76587c910844f9c8f43 100644
(file)
--- 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,11
@@
import java.util.Comparator;
* @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
*
*/
* @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
*
*/
+@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<String>, Serializable {
public class SortPortsByName implements Comparator<String>, Serializable {
- private static final long serialVersionUID = 1L;
-
@Override
public int compare(String port1, String port2) {
int num = extractInt(port1) - extractInt(port2);
@Override
public int compare(String port1, String port2) {
int num = extractInt(port1) - extractInt(port2);