diff options
author | amilasilva88 <amilasilva88@gmail.com> | 2015-08-14 09:00:58 +0800 |
---|---|---|
committer | amilasilva88 <amilasilva88@gmail.com> | 2015-08-14 09:00:58 +0800 |
commit | 064cbff8e9f581bbd57988e5dd78a1f7e5480880 (patch) | |
tree | ea1d349d4e67f0eb9a30f3a111969fdaf87603d0 /src | |
parent | bb18dcd541642aad00ad3253940dc239a7c9681e (diff) | |
download | traccar-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.java | 7 |
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; } |