diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-01 15:47:53 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-01 15:47:53 +1300 |
commit | 671dbc55419dd20ba16951529b28fa90a59b189a (patch) | |
tree | 6d7106fa731fbab7a67c8bcaa1c9c2c3a11a0260 /src/org/traccar/protocol/CastelProtocolDecoder.java | |
parent | 35ba8d35cacbe3e94ffef12416bd034441950d75 (diff) | |
download | trackermap-server-671dbc55419dd20ba16951529b28fa90a59b189a.tar.gz trackermap-server-671dbc55419dd20ba16951529b28fa90a59b189a.tar.bz2 trackermap-server-671dbc55419dd20ba16951529b28fa90a59b189a.zip |
Fix PMD and Findbugs issues
Diffstat (limited to 'src/org/traccar/protocol/CastelProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/CastelProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/CastelProtocolDecoder.java b/src/org/traccar/protocol/CastelProtocolDecoder.java index bf82bede1..7d4182f7c 100644 --- a/src/org/traccar/protocol/CastelProtocolDecoder.java +++ b/src/org/traccar/protocol/CastelProtocolDecoder.java @@ -203,10 +203,10 @@ public class CastelProtocolDecoder extends BaseProtocolDecoder { position.set(Event.KEY_CELL, buf.readUnsignedShort()); positions.add(position); - - return positions; } + return positions; + } else if (type == MSG_CC_LOGIN) { sendResponse(channel, remoteAddress, version, id, MSG_CC_LOGIN_RESPONSE, null); |