aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/NavisFrameDecoder.java
diff options
context:
space:
mode:
authorEvgeny S Maksimov <me@vragam.net>2019-01-21 23:17:04 +0300
committerEvgeny S Maksimov <me@vragam.net>2019-01-21 23:17:04 +0300
commitb4a655445b6ad7a0ef96193a616f8bdec182ca54 (patch)
tree5a002050f0aadda49fd28885182c3f55969dae86 /src/org/traccar/protocol/NavisFrameDecoder.java
parenteae48f944a326bac20e49dac4fe577e7cc2a4102 (diff)
downloadtrackermap-server-b4a655445b6ad7a0ef96193a616f8bdec182ca54.tar.gz
trackermap-server-b4a655445b6ad7a0ef96193a616f8bdec182ca54.tar.bz2
trackermap-server-b4a655445b6ad7a0ef96193a616f8bdec182ca54.zip
Naming convention fix
Diffstat (limited to 'src/org/traccar/protocol/NavisFrameDecoder.java')
-rw-r--r--src/org/traccar/protocol/NavisFrameDecoder.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/NavisFrameDecoder.java b/src/org/traccar/protocol/NavisFrameDecoder.java
index b82a3a5fb..1d77c0d65 100644
--- a/src/org/traccar/protocol/NavisFrameDecoder.java
+++ b/src/org/traccar/protocol/NavisFrameDecoder.java
@@ -48,7 +48,7 @@ public class NavisFrameDecoder extends BaseFrameDecoder {
return buf.readRetainedSlice(1);
} else if (buf.getByte(buf.readerIndex()) == 0x7E /* "~" */) {
// FLEX frame
- if (protocolDecoder.getFLEXDataSize() == 0) {
+ if (protocolDecoder.getFlexDataSize() == 0) {
return null;
}
if (buf.readableBytes() > MAX_FRAME_LENGTH) {
@@ -60,14 +60,14 @@ public class NavisFrameDecoder extends BaseFrameDecoder {
switch (buf.getByte(buf.readerIndex() + 1)) {
// FLEX 1.0
case 0x41: // "A"
- length = protocolDecoder.getFLEXDataSize()
+ length = protocolDecoder.getFlexDataSize()
* buf.getByte(buf.readerIndex() + FLEX_HEADER_LENGTH) + 2;
break;
case 0x54: // "T"
- length = protocolDecoder.getFLEXDataSize() + 5;
+ length = protocolDecoder.getFlexDataSize() + 5;
break;
case 0x43: // "C"
- length = protocolDecoder.getFLEXDataSize() + 1;
+ length = protocolDecoder.getFlexDataSize() + 1;
break;
// FLEX 2.0 (Extra packages)
case 0x45: // "E"