aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/CopyAttributesHandler.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-24 11:46:28 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-24 11:46:28 +0500
commit1424c2048346206f750bd68232ba6e2cbe1545e9 (patch)
treec708c8f12342c33070d5f8ee0fe0a31034aa2664 /src/org/traccar/CopyAttributesHandler.java
parent7113cff737831d239d30edea7d0661ad89499198 (diff)
downloadtrackermap-server-1424c2048346206f750bd68232ba6e2cbe1545e9.tar.gz
trackermap-server-1424c2048346206f750bd68232ba6e2cbe1545e9.tar.bz2
trackermap-server-1424c2048346206f750bd68232ba6e2cbe1545e9.zip
- Invert variable meaning
- Style fixes
Diffstat (limited to 'src/org/traccar/CopyAttributesHandler.java')
-rw-r--r--src/org/traccar/CopyAttributesHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/CopyAttributesHandler.java b/src/org/traccar/CopyAttributesHandler.java
index d7f0b4180..f6326ea84 100644
--- a/src/org/traccar/CopyAttributesHandler.java
+++ b/src/org/traccar/CopyAttributesHandler.java
@@ -29,8 +29,8 @@ public class CopyAttributesHandler extends BaseDataHandler {
@Override
protected Position handlePosition(Position position) {
- String attributesString = Context.getDeviceManager().lookupAttributeString(position.getDeviceId(),
- "processing.copyAttributes", null, false);
+ String attributesString = Context.getDeviceManager().lookupAttributeString(
+ position.getDeviceId(), "processing.copyAttributes", null, true);
Position last = getLastPosition(position.getDeviceId());
if (attributesString != null && last != null) {
for (String attribute : attributesString.split(" ")) {