diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-04 16:53:14 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-04 16:53:14 +1300 |
commit | c64a77edfdcd6ed4e7cb61bef5e3f2762a607da7 (patch) | |
tree | 470f3e9d8ceae5f8fe7eadc69bf82f9ef8368c6e /src/org/traccar/protocol/BceProtocolDecoder.java | |
parent | 65d2e3b04e3d32245456e7520796cdf7e9def692 (diff) | |
download | trackermap-server-c64a77edfdcd6ed4e7cb61bef5e3f2762a607da7.tar.gz trackermap-server-c64a77edfdcd6ed4e7cb61bef5e3f2762a607da7.tar.bz2 trackermap-server-c64a77edfdcd6ed4e7cb61bef5e3f2762a607da7.zip |
Replace valueOf with parseXxx
Diffstat (limited to 'src/org/traccar/protocol/BceProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/BceProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/BceProtocolDecoder.java b/src/org/traccar/protocol/BceProtocolDecoder.java index af8e70d70..ce565f71d 100644 --- a/src/org/traccar/protocol/BceProtocolDecoder.java +++ b/src/org/traccar/protocol/BceProtocolDecoder.java @@ -138,7 +138,7 @@ public class BceProtocolDecoder extends BaseProtocolDecoder { // Send response if (type == MSG_ASYNC_STACK && channel != null) { ChannelBuffer response = ChannelBuffers.buffer(ByteOrder.LITTLE_ENDIAN, 8 + 2 + 2 + 1); - response.writeLong(Long.valueOf(imei)); + response.writeLong(Long.parseLong(imei)); response.writeShort(2); response.writeByte(MSG_STACK_COFIRM); response.writeByte(confirmKey); |