aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-21 09:37:45 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-21 09:37:45 +0500
commitd0ce4c7e8069fc4663e2d04f942d8f8989be2998 (patch)
treeaa1ea15a9d7c07d48d5679f71c2801aa14761dc8 /src/org
parentb298aef26f01154e84e9a00b29ff62921484a220 (diff)
downloadtrackermap-server-d0ce4c7e8069fc4663e2d04f942d8f8989be2998.tar.gz
trackermap-server-d0ce4c7e8069fc4663e2d04f942d8f8989be2998.tar.bz2
trackermap-server-d0ce4c7e8069fc4663e2d04f942d8f8989be2998.zip
PMD fix
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/web/CsvBuilder.java4
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());