aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnatoliy Golubev <darth.naihil@gmail.com>2017-09-10 02:11:43 +0300
committerAnatoliy Golubev <darth.naihil@gmail.com>2017-09-10 02:11:43 +0300
commit31d46d03bd29e9d29c2797f5e72735450a9bf45b (patch)
tree4acb12a297bf48c450c6a9b111d5c7a92e884c7c /src
parent07e4e89be6e658239125a8b99e05ce4d132e1d9e (diff)
downloadtrackermap-server-31d46d03bd29e9d29c2797f5e72735450a9bf45b.tar.gz
trackermap-server-31d46d03bd29e9d29c2797f5e72735450a9bf45b.tar.bz2
trackermap-server-31d46d03bd29e9d29c2797f5e72735450a9bf45b.zip
Rename method
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/AdmProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/AdmProtocolDecoder.java b/src/org/traccar/protocol/AdmProtocolDecoder.java
index b5a5c64dc..df96c6b8d 100644
--- a/src/org/traccar/protocol/AdmProtocolDecoder.java
+++ b/src/org/traccar/protocol/AdmProtocolDecoder.java
@@ -38,7 +38,7 @@ public class AdmProtocolDecoder extends BaseProtocolDecoder {
public static final int MSG_PHOTO = 0x0A;
public static final int MSG_ADM5 = 0x01;
- private Position parseData(Channel channel, SocketAddress remoteAddress, ChannelBuffer buf, int type) {
+ private Position decodeData(Channel channel, SocketAddress remoteAddress, ChannelBuffer buf, int type) {
DeviceSession deviceSession = getDeviceSession(channel, remoteAddress);
if (deviceSession == null) {
return null;
@@ -144,7 +144,7 @@ public class AdmProtocolDecoder extends BaseProtocolDecoder {
if (type == MSG_IMEI) {
getDeviceSession(channel, remoteAddress, buf.readBytes(15).toString(StandardCharsets.UTF_8));
} else {
- return parseData(channel, remoteAddress, buf, type);
+ return decodeData(channel, remoteAddress, buf, type);
}
} else {
return parseCommandResponse(channel, remoteAddress, buf);