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/NavisProtocolDecoderTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java') diff --git a/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java index 33a6bab24..b1282cac7 100644 --- a/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java @@ -9,7 +9,7 @@ public class NavisProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeNtcb() throws Exception { - NavisProtocolDecoder decoder = new NavisProtocolDecoder(null); + var decoder = new NavisProtocolDecoder(null); verifyNull(decoder, binary( "404E5443010000007B000000130044342A3E533A383631373835303035323035303739")); @@ -41,7 +41,7 @@ public class NavisProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeFlex10() throws Exception { - NavisProtocolDecoder decoder = new NavisProtocolDecoder(null); + var decoder = new NavisProtocolDecoder(null); verifyNull(decoder, binary( "404e544301000000c9b5f602130046c52a3e533a383639363936303439373232383235")); @@ -60,7 +60,7 @@ public class NavisProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeFlex20() throws Exception { - NavisProtocolDecoder decoder = new NavisProtocolDecoder(null); + var decoder = new NavisProtocolDecoder(null); verifyNull(decoder, binary( "404e544301000000a9eef602130043fb2a3e533a383639363936303439373337333835")); -- cgit v1.2.3