From 69ac38e3b55c2f9884d95bae30796eb6664beb61 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 6 Nov 2015 12:00:06 +1300 Subject: Make OBD decoder final and hide constructor --- src/org/traccar/helper/ObdDecoder.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/org') 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; -- cgit v1.2.3