aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/MeiligaoProtocolEncoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-08 10:49:04 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-08 10:49:04 +1300
commit85a8a8fcce54e7230baacc077e4deca236ee0a89 (patch)
tree9a94d4156111d93d1b7993a78a8bb1936dcd3458 /src/org/traccar/protocol/MeiligaoProtocolEncoder.java
parent782a1441c1bc33045b341c77e1a2394052bd16e8 (diff)
downloadtrackermap-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/MeiligaoProtocolEncoder.java')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolEncoder.java25
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) {