Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingoos committed Mar 20, 2018
1 parent 7e7dca7 commit 69f270e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/org/traccar/protocol/LaipacProtocolDecoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ protected Object decode(
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);
Expand Down

0 comments on commit 69f270e

Please sign in to comment.