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/StarcomProtocolDecoderTest.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/StarcomProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/StarcomProtocolDecoderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/StarcomProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/StarcomProtocolDecoderTest.java index 88be86054..851d4eac6 100644 --- a/src/test/java/org/traccar/protocol/StarcomProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/StarcomProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class StarcomProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - StarcomProtocolDecoder decoder = new StarcomProtocolDecoder(null); + var decoder = new StarcomProtocolDecoder(null); verifyPosition(decoder, text( "|unit=416307,unittype=5,address=186.167.243.28,kind=14,software_version=14.02.18,hardware_type=17,gps_type=6,longitude=-67.85891,latitude=10.21988,datetime_actual=2019/05/07 21:59:38,network=TCPIP.1|\r\n")); |