diff options
author | Abyss777 <abyss@fox5.ru> | 2016-09-21 09:37:45 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-09-21 09:37:45 +0500 |
commit | d0ce4c7e8069fc4663e2d04f942d8f8989be2998 (patch) | |
tree | aa1ea15a9d7c07d48d5679f71c2801aa14761dc8 /src/org/traccar/web | |
parent | b298aef26f01154e84e9a00b29ff62921484a220 (diff) | |
download | trackermap-server-d0ce4c7e8069fc4663e2d04f942d8f8989be2998.tar.gz trackermap-server-d0ce4c7e8069fc4663e2d04f942d8f8989be2998.tar.bz2 trackermap-server-d0ce4c7e8069fc4663e2d04f942d8f8989be2998.zip |
PMD fix
Diffstat (limited to 'src/org/traccar/web')
-rw-r--r-- | src/org/traccar/web/CsvBuilder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/web/CsvBuilder.java b/src/org/traccar/web/CsvBuilder.java index a25b839a9..f59aabc7f 100644 --- a/src/org/traccar/web/CsvBuilder.java +++ b/src/org/traccar/web/CsvBuilder.java @@ -37,10 +37,10 @@ public class CsvBuilder { SortedSet<Method> methods = new TreeSet<Method>(new Comparator<Method>() { @Override public int compare(Method m1, Method m2) { - if (m1.getName().equals("getAttributes") & !m1.getName().equals(m2.getName())) { + if (m1.getName().equals("getAttributes") && !m1.getName().equals(m2.getName())) { return 1; } - if (m2.getName().equals("getAttributes") & !m1.getName().equals(m2.getName())) { + if (m2.getName().equals("getAttributes") && !m1.getName().equals(m2.getName())) { return -1; } return m1.getName().compareTo(m2.getName()); |