aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/LaipacProtocolDecoder.java
diff options
context:
space:
mode:
authorKevin Goos <kevingoos@telenet.be>2018-03-20 16:44:25 +0100
committerKevin Goos <kevingoos@telenet.be>2018-03-20 16:44:25 +0100
commit69f270e4b80803e919f16495b0102dd0f5d6acfe (patch)
tree5c7e49b8a74fd4fc583f0bf5a61dd9000d825aa6 /src/org/traccar/protocol/LaipacProtocolDecoder.java
parent7e7dca780552c7f34a4a7d8a6159d64e3b23a68b (diff)
downloadtrackermap-server-69f270e4b80803e919f16495b0102dd0f5d6acfe.tar.gz
trackermap-server-69f270e4b80803e919f16495b0102dd0f5d6acfe.tar.bz2
trackermap-server-69f270e4b80803e919f16495b0102dd0f5d6acfe.zip
Fixed formatting
Diffstat (limited to 'src/org/traccar/protocol/LaipacProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/LaipacProtocolDecoder.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/LaipacProtocolDecoder.java b/src/org/traccar/protocol/LaipacProtocolDecoder.java
index 16ed6b750..b6d3dd8b2 100644
--- a/src/org/traccar/protocol/LaipacProtocolDecoder.java
+++ b/src/org/traccar/protocol/LaipacProtocolDecoder.java
@@ -126,8 +126,10 @@ public class LaipacProtocolDecoder extends BaseProtocolDecoder {
String cellIdString = parser.next();
String countryCodeString = parser.next();
String operatorCodeString = parser.next();
- if (cellNetCodeString != null && cellIdString != null &&
- countryCodeString != null && operatorCodeString != null) {
+ if (cellNetCodeString != null
+ && cellIdString != null
+ && countryCodeString != null
+ && operatorCodeString != null) {
int cellNetCode = Integer.parseInt(cellNetCodeString, 16);
Long cellId = Long.parseLong(cellIdString, 16);
int countryCode = Integer.parseInt(countryCodeString);