diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-06 16:14:11 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-06 16:14:11 +1300 |
commit | 6652e4c3e23da63d4277caaca7f91e651793f503 (patch) | |
tree | ef8d12b439e5cd0f0b826aa1d465f5e4db7d0f51 /src/org/traccar/protocol/CityeasyProtocolDecoder.java | |
parent | 814794126d232b11a67c06691ed5d5da6c32dd75 (diff) | |
download | trackermap-server-6652e4c3e23da63d4277caaca7f91e651793f503.tar.gz trackermap-server-6652e4c3e23da63d4277caaca7f91e651793f503.tar.bz2 trackermap-server-6652e4c3e23da63d4277caaca7f91e651793f503.zip |
Rename some of checksum methods
Diffstat (limited to 'src/org/traccar/protocol/CityeasyProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/CityeasyProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CityeasyProtocolDecoder.java b/src/org/traccar/protocol/CityeasyProtocolDecoder.java index 457ba9c5d..b08eb6c2d 100644 --- a/src/org/traccar/protocol/CityeasyProtocolDecoder.java +++ b/src/org/traccar/protocol/CityeasyProtocolDecoder.java @@ -72,7 +72,7 @@ public class CityeasyProtocolDecoder extends BaseProtocolDecoder { String imei = ChannelBufferTools.readHexString(buf, 14); if (!identify(imei, channel, null, false)) { - if (!identify(imei + Checksum.luhnChecksum(Long.parseLong(imei)), channel)) { + if (!identify(imei + Checksum.luhn(Long.parseLong(imei)), channel)) { return null; } } |