diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-12 21:38:17 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-12 21:38:17 +1200 |
commit | 1a43a20487bf187c6c759eedce273b38159ea140 (patch) | |
tree | 6e2fa693ba29fc047c0964bc15b9e5221eebad25 /src/org/traccar/protocol/GlobalSatProtocolDecoder.java | |
parent | a7d9e52831ff5f6f360a7e5a264ae7021c9882c7 (diff) | |
download | trackermap-server-1a43a20487bf187c6c759eedce273b38159ea140.tar.gz trackermap-server-1a43a20487bf187c6c759eedce273b38159ea140.tar.bz2 trackermap-server-1a43a20487bf187c6c759eedce273b38159ea140.zip |
Use protocol name for config keys
Diffstat (limited to 'src/org/traccar/protocol/GlobalSatProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/GlobalSatProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java index 04b88114f..2b36d7a9e 100644 --- a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java +++ b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java @@ -35,8 +35,8 @@ public class GlobalSatProtocolDecoder extends BaseProtocolDecoder { public GlobalSatProtocolDecoder(GlobalSatProtocol protocol) { super(protocol); - format0 = Context.getConfig().getString(protocol + ".format0", "TSPRXAB27GHKLMnaicz*U!"); - format1 = Context.getConfig().getString(protocol + ".format1", "SARY*U!"); + format0 = Context.getConfig().getString(getProtocolName() + ".format0", "TSPRXAB27GHKLMnaicz*U!"); + format1 = Context.getConfig().getString(getProtocolName() + ".format1", "SARY*U!"); } public void setFormat0(String format) { |