aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-06 12:00:06 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-06 12:00:06 +1300
commit69ac38e3b55c2f9884d95bae30796eb6664beb61 (patch)
tree330de4069d8059301c75486068f25bfa30ed2a82 /src
parent23f83e9f1c6c0f183256a3952a8b3a819dc0ea1c (diff)
downloadtrackermap-server-69ac38e3b55c2f9884d95bae30796eb6664beb61.tar.gz
trackermap-server-69ac38e3b55c2f9884d95bae30796eb6664beb61.tar.bz2
trackermap-server-69ac38e3b55c2f9884d95bae30796eb6664beb61.zip
Make OBD decoder final and hide constructor
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/helper/ObdDecoder.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/helper/ObdDecoder.java b/src/org/traccar/helper/ObdDecoder.java
index 684702bba..35fa4dc07 100644
--- a/src/org/traccar/helper/ObdDecoder.java
+++ b/src/org/traccar/helper/ObdDecoder.java
@@ -20,7 +20,10 @@ import org.traccar.model.Event;
import java.util.AbstractMap;
import java.util.Map;
-public class ObdDecoder {
+public final class ObdDecoder {
+
+ private ObdDecoder() {
+ }
private static final int MODE_CURRENT = 0x01;
private static final int MODE_FREEZE_FRAME = 0x02;