diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-04-11 11:27:08 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-04-11 11:27:08 -0700 |
commit | 2099230503370be87b893287e264aa200d0d930f (patch) | |
tree | 618b9aff989e713dc734b871a5c082f3c734f779 /src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java | |
parent | 4904b15558f05b3458fc5f80253707e51f0ff2c0 (diff) | |
download | trackermap-server-2099230503370be87b893287e264aa200d0d930f.tar.gz trackermap-server-2099230503370be87b893287e264aa200d0d930f.tar.bz2 trackermap-server-2099230503370be87b893287e264aa200d0d930f.zip |
Use var in tests
Diffstat (limited to 'src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java index 22f0974ec..3360d968b 100644 --- a/src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class MictrackProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeStandard() throws Exception { - MictrackProtocolDecoder decoder = new MictrackProtocolDecoder(null); + var decoder = new MictrackProtocolDecoder(null); verifyNull(decoder, text( "mode=Success!")); @@ -39,7 +39,7 @@ public class MictrackProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeLowAltitude() throws Exception { - MictrackProtocolDecoder decoder = new MictrackProtocolDecoder(null); + var decoder = new MictrackProtocolDecoder(null); verifyPositions(decoder, text( "861108032038761$062232.00,A,2238.2832,N,11401.7381,E,0.01,309.62,95.0,131117")); |