aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.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/EgtsProtocolDecoderTest.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/EgtsProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.java
index cdf27ee63..dcf70bcae 100644
--- a/src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.java
@@ -8,7 +8,7 @@ public class EgtsProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeWithObjectId() throws Exception {
- EgtsProtocolDecoder decoder = new EgtsProtocolDecoder(null);
+ var decoder = new EgtsProtocolDecoder(null);
verifyNull(decoder, binary(
"0100020b002300020001871c00020000010105190000ab0800006247396e615734366347467a63336476636d513daadf"));
@@ -31,7 +31,7 @@ public class EgtsProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeWithAuth() throws Exception {
- EgtsProtocolDecoder decoder = new EgtsProtocolDecoder(null);
+ var decoder = new EgtsProtocolDecoder(null);
verifyNull(decoder, binary(
"0100010b002200c06401f21700c1640171360d00010101140071360d000238363539303500000000000000000047fc"));