aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramilasilva88 <amilasilva88@gmail.com>2015-08-14 09:00:58 +0800
committeramilasilva88 <amilasilva88@gmail.com>2015-08-14 09:00:58 +0800
commit064cbff8e9f581bbd57988e5dd78a1f7e5480880 (patch)
treeea1d349d4e67f0eb9a30f3a111969fdaf87603d0 /src
parentbb18dcd541642aad00ad3253940dc239a7c9681e (diff)
downloadtraccar-server-064cbff8e9f581bbd57988e5dd78a1f7e5480880.tar.gz
traccar-server-064cbff8e9f581bbd57988e5dd78a1f7e5480880.tar.bz2
traccar-server-064cbff8e9f581bbd57988e5dd78a1f7e5480880.zip
Resolved the review comments
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/ODOMeterHandler.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/org/traccar/ODOMeterHandler.java b/src/org/traccar/ODOMeterHandler.java
index 1dc3aed44..87dde6b92 100644
--- a/src/org/traccar/ODOMeterHandler.java
+++ b/src/org/traccar/ODOMeterHandler.java
@@ -36,10 +36,11 @@ public class ODOMeterHandler extends BaseDataHandler {
last.getLatitude(), last.getLongitude());
distance = Math.round((distance) * 100.0) / 100.0;
double odoMeter = distance + last.getOdoMeter();
- Log.info("::: Device Course : " + position.getDeviceId()
- + ", Distance :" + distance + "m, ODO Meter :" + odoMeter + " m");
+// Log.debug("::: Device Course : " + position.getDeviceId()
+// + ", Distance :" + distance + "m, Odometer :" + odoMeter
+// + " m");
position.setOdoMeter(odoMeter);
- }
+ }
return position;
}