From f0790eba6f3194daf4677c27e8259f783aae3207 Mon Sep 17 00:00:00 2001 From: jon-stumpf Date: Fri, 10 Oct 2014 22:25:02 -0400 Subject: Made BaseProtocolDecoder members "final" as they should not change after construction. --- test/org/traccar/protocol/CarscopProtocolDecoderTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/org/traccar/protocol/CarscopProtocolDecoderTest.java') diff --git a/test/org/traccar/protocol/CarscopProtocolDecoderTest.java b/test/org/traccar/protocol/CarscopProtocolDecoderTest.java index 5978ab7b1..4ec3a14d4 100644 --- a/test/org/traccar/protocol/CarscopProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CarscopProtocolDecoderTest.java @@ -10,8 +10,7 @@ public class CarscopProtocolDecoderTest { @Test public void testDecode() throws Exception { - CarscopProtocolDecoder decoder = new CarscopProtocolDecoder(null); - decoder.setDataManager(new TestDataManager()); + CarscopProtocolDecoder decoder = new CarscopProtocolDecoder(new TestDataManager()); verify(decoder.decode(null, null, "*040331141830UB05123456789012345061825A2934.0133N10627.2544E000.0040331309.6200000000L000000")); -- cgit v1.2.3