From 2099230503370be87b893287e264aa200d0d930f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 11 Apr 2021 11:27:08 -0700 Subject: Use var in tests --- src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java') diff --git a/src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java index e6fb98340..b8ce8af5d 100644 --- a/src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class Gl200BinaryProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - Gl200BinaryProtocolDecoder decoder = new Gl200BinaryProtocolDecoder(null); + var decoder = new Gl200BinaryProtocolDecoder(null); verifyPosition(decoder, binary( "2b4556542d00fc1fbf0063450102020956325403000343056437f8220700000200000000010000160100f2007eff75a1f0025c6b1a07e1080108241a02680003189c1ac500000000000002100800000000000000000007e1080108241a19e24e4e0d0a")); -- cgit v1.2.3