diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-08 10:49:04 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-08 10:49:04 +1300 |
commit | 85a8a8fcce54e7230baacc077e4deca236ee0a89 (patch) | |
tree | 9a94d4156111d93d1b7993a78a8bb1936dcd3458 /src/org/traccar/protocol | |
parent | 782a1441c1bc33045b341c77e1a2394052bd16e8 (diff) | |
download | trackermap-server-85a8a8fcce54e7230baacc077e4deca236ee0a89.tar.gz trackermap-server-85a8a8fcce54e7230baacc077e4deca236ee0a89.tar.bz2 trackermap-server-85a8a8fcce54e7230baacc077e4deca236ee0a89.zip |
Remove unused imports and methods
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/MeiligaoProtocolEncoder.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolEncoder.java b/src/org/traccar/protocol/MeiligaoProtocolEncoder.java index ae93e8b73..84b9b642d 100644 --- a/src/org/traccar/protocol/MeiligaoProtocolEncoder.java +++ b/src/org/traccar/protocol/MeiligaoProtocolEncoder.java @@ -57,31 +57,6 @@ public class MeiligaoProtocolEncoder extends BaseProtocolEncoder { return buf; } - // TODO: remove if not needed - private static int radiusToArea(int radius) { - if (radius == 0) { - return 0x00; - } else if (radius <= 30) { - return 0x01; - } else if (radius <= 50) { - return 0x02; - } else if (radius <= 100) { - return 0x03; - } else if (radius <= 200) { - return 0x04; - } else if (radius <= 300) { - return 0x05; - } else if (radius <= 500) { - return 0x06; - } else if (radius <= 1000) { - return 0x07; - } else if (radius <= 2000) { - return 0x08; - } else { - return 0xff; - } - } - @Override protected Object encodeCommand(Command command) { |