aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/StringProtocolEncoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-15 11:51:45 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-15 11:51:45 +1200
commit5cf1061cfcc5baf214bce145961512fd4f672621 (patch)
tree32efac22ba11abddec21656685c3e0ba730b1e47 /src/org/traccar/StringProtocolEncoder.java
parent34a70e81ecb613c3216fcdd581a9724216137b41 (diff)
downloadtrackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.tar.gz
trackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.tar.bz2
trackermap-server-5cf1061cfcc5baf214bce145961512fd4f672621.zip
Rename other field to attributes
Diffstat (limited to 'src/org/traccar/StringProtocolEncoder.java')
-rw-r--r--src/org/traccar/StringProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/StringProtocolEncoder.java b/src/org/traccar/StringProtocolEncoder.java
index dcb9ccc0e..c64e1d03f 100644
--- a/src/org/traccar/StringProtocolEncoder.java
+++ b/src/org/traccar/StringProtocolEncoder.java
@@ -30,7 +30,7 @@ public abstract class StringProtocolEncoder extends BaseProtocolEncoder {
String result = String.format(format, (Object[]) keys);
result = result.replaceAll("\\{" + Command.KEY_UNIQUE_ID + "}", getUniqueId(command.getDeviceId()));
- for (Map.Entry<String, Object> entry : command.getOther().entrySet()) {
+ for (Map.Entry<String, Object> entry : command.getAttributes().entrySet()) {
String value = null;
if (valueFormatter != null) {
value = valueFormatter.formatValue(entry.getKey(), entry.getValue());