aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-11 11:27:08 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-11 11:27:08 -0700
commit2099230503370be87b893287e264aa200d0d930f (patch)
tree618b9aff989e713dc734b871a5c082f3c734f779 /src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
parent4904b15558f05b3458fc5f80253707e51f0ff2c0 (diff)
downloadtrackermap-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/MegastekProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
index 1bf3dbd25..6b7eb2e99 100644
--- a/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
@@ -8,7 +8,7 @@ public class MegastekProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- MegastekProtocolDecoder decoder = new MegastekProtocolDecoder(null);
+ var decoder = new MegastekProtocolDecoder(null);
verifyPosition(decoder, text(
"0132$MGV002,869152024261561,,S,310818,133945,V,3814.35442,N,02144.50662,E,00,00,00,99.9,,,44.2,,202,10,,,13,0,0,0,0,90,,,,11,100,Timer;!"));