diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-29 13:05:07 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-29 13:05:07 -0800 |
commit | f94951e7e78956b2bbd438665ff290a472afde76 (patch) | |
tree | 21ae964507b4e4e3a3c7f657e9057375c35701d1 /src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java | |
parent | 152d8fe43e4e7c15308ea39a19ac6c10da871ef7 (diff) | |
download | trackermap-server-f94951e7e78956b2bbd438665ff290a472afde76.tar.gz trackermap-server-f94951e7e78956b2bbd438665ff290a472afde76.tar.bz2 trackermap-server-f94951e7e78956b2bbd438665ff290a472afde76.zip |
Migrate more boolean keys
Diffstat (limited to 'src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java index 1a45fbf75..69fff5310 100644 --- a/src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java @@ -21,6 +21,7 @@ import org.traccar.Context; import org.traccar.DeviceSession; import org.traccar.NetworkMessage; import org.traccar.Protocol; +import org.traccar.config.Keys; import org.traccar.helper.BitUtil; import org.traccar.helper.DateBuilder; import org.traccar.helper.Parser; @@ -39,7 +40,7 @@ public class Tk103ProtocolDecoder extends BaseProtocolDecoder { public Tk103ProtocolDecoder(Protocol protocol) { super(protocol); - decodeLow = Context.getConfig().getBoolean(getProtocolName() + ".decodeLow"); + decodeLow = Context.getConfig().getBoolean(Keys.PROTOCOL_DECODE_LOW.withPrefix(getProtocolName())); } private static final Pattern PATTERN = new PatternBuilder() |