aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-09-13 06:50:46 -0700
committerAnton Tananaev <anton@traccar.org>2023-09-13 06:50:46 -0700
commit6b61074e00ea242dbe2135423f75ab44473563a2 (patch)
tree8b78fba747a9a0f0c5fe145098ba124383a5125b /src/main/java/org/traccar
parent7b4d45cc476b80d02a4bbf4bc3a2b6f09fe9c7c3 (diff)
downloadtrackermap-server-6b61074e00ea242dbe2135423f75ab44473563a2.tar.gz
trackermap-server-6b61074e00ea242dbe2135423f75ab44473563a2.tar.bz2
trackermap-server-6b61074e00ea242dbe2135423f75ab44473563a2.zip
Fix formatting
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
index 8a1e14834..aa0fe19d8 100644
--- a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -551,16 +551,17 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
case 0x24:
case 0x25:
String wifiMac = ByteBufUtil.hexDump(buf.readSlice(6)).replaceAll("(..)", "$1:");
- network.addWifiAccessPoint(WifiAccessPoint.from(wifiMac.substring(0, wifiMac.length() - 1),
- buf.readShortLE()));
+ network.addWifiAccessPoint(WifiAccessPoint.from(
+ wifiMac.substring(0, wifiMac.length() - 1), buf.readShortLE()));
break;
case 0x0E:
case 0x0F:
case 0x10:
case 0x12:
case 0x13:
- network.addCellTower(CellTower.from(buf.readUnsignedShortLE(), buf.readUnsignedShortLE(),
- buf.readUnsignedShortLE(), buf.readUnsignedIntLE(), buf.readShortLE()));
+ network.addCellTower(CellTower.from(
+ buf.readUnsignedShortLE(), buf.readUnsignedShortLE(),
+ buf.readUnsignedShortLE(), buf.readUnsignedIntLE(), buf.readShortLE()));
break;
case 0x2A:
case 0x2B: