aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-05-09 21:44:47 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-05-09 21:44:47 +1200
commit53481fc2c7eafc0550a1468d30be065fbe4e0a1f (patch)
treed350c5d79c11af6b0b35ad0a2013a6bc1cb07cc3 /src
parentc054a0ce6db0c9585c9357841ce9ae60d6e509de (diff)
downloadtrackermap-server-53481fc2c7eafc0550a1468d30be065fbe4e0a1f.tar.gz
trackermap-server-53481fc2c7eafc0550a1468d30be065fbe4e0a1f.tar.bz2
trackermap-server-53481fc2c7eafc0550a1468d30be065fbe4e0a1f.zip
Fix code formatting
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/CarTrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CarTrackProtocolDecoder.java b/src/org/traccar/protocol/CarTrackProtocolDecoder.java
index 3b1869d62..3ab026dd8 100644
--- a/src/org/traccar/protocol/CarTrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/CarTrackProtocolDecoder.java
@@ -110,7 +110,7 @@ public class CarTrackProtocolDecoder extends BaseProtocolDecoder {
// Speed
String speed = parser.group(index++);
- if(speed != null){
+ if (speed != null) {
position.setSpeed(Double.valueOf(speed));
} else {
position.setSpeed(0.0);