diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-24 11:17:49 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-24 11:17:49 +0500 |
commit | 7113cff737831d239d30edea7d0661ad89499198 (patch) | |
tree | 61ecefcefa066fb40f017c05e969bc4efe1f8d4c /src/org/traccar/CopyAttributesHandler.java | |
parent | 3e1a25b54ab342bedc8d688bb6ccb3c2d6c60d0c (diff) | |
download | trackermap-server-7113cff737831d239d30edea7d0661ad89499198.tar.gz trackermap-server-7113cff737831d239d30edea7d0661ad89499198.tar.bz2 trackermap-server-7113cff737831d239d30edea7d0661ad89499198.zip |
Combine lookupAttribute helpers
Diffstat (limited to 'src/org/traccar/CopyAttributesHandler.java')
-rw-r--r-- | src/org/traccar/CopyAttributesHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/CopyAttributesHandler.java b/src/org/traccar/CopyAttributesHandler.java index c4cac2e7f..d7f0b4180 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().lookupConfigString(position.getDeviceId(), - "processing.copyAttributes", null); + String attributesString = Context.getDeviceManager().lookupAttributeString(position.getDeviceId(), + "processing.copyAttributes", null, false); Position last = getLastPosition(position.getDeviceId()); if (attributesString != null && last != null) { for (String attribute : attributesString.split(" ")) { |