diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-23 17:04:04 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-23 17:04:04 +1200 |
commit | 79cba5842b624e341cee7721fe7ac4292f604e6f (patch) | |
tree | 9a23a06046024840e0a459706fbb8651514b84b9 /src/org/traccar/protocol/Jt600ProtocolDecoder.java | |
parent | d997825008a0a1b0a6c29cc45e381cd239aa3572 (diff) | |
download | trackermap-server-79cba5842b624e341cee7721fe7ac4292f604e6f.tar.gz trackermap-server-79cba5842b624e341cee7721fe7ac4292f604e6f.tar.bz2 trackermap-server-79cba5842b624e341cee7721fe7ac4292f604e6f.zip |
More code issues clean up
Diffstat (limited to 'src/org/traccar/protocol/Jt600ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Jt600ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Jt600ProtocolDecoder.java b/src/org/traccar/protocol/Jt600ProtocolDecoder.java index d6eca3a53..8c1d2997b 100644 --- a/src/org/traccar/protocol/Jt600ProtocolDecoder.java +++ b/src/org/traccar/protocol/Jt600ProtocolDecoder.java @@ -36,7 +36,7 @@ public class Jt600ProtocolDecoder extends BaseProtocolDecoder { super(protocol); } - private Position decodeNormalMessage(ChannelBuffer buf, Channel channel) throws Exception { + private Position decodeNormalMessage(ChannelBuffer buf, Channel channel) { Position position = new Position(); position.setProtocol(getProtocolName()); @@ -140,7 +140,7 @@ public class Jt600ProtocolDecoder extends BaseProtocolDecoder { "(\\d+)," + // Alert Type ".*\\)"); - private Position decodeAlertMessage(ChannelBuffer buf, Channel channel) throws Exception { + private Position decodeAlertMessage(ChannelBuffer buf, Channel channel) { String message = buf.toString(Charset.defaultCharset()); |