aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);