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/PiligrimProtocolDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java') diff --git a/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java index 03d0dd7b9..b39060420 100644 --- a/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java @@ -9,7 +9,7 @@ public class PiligrimProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - PiligrimProtocolDecoder decoder = new PiligrimProtocolDecoder(null); + var decoder = new PiligrimProtocolDecoder(null); verifyPositions(decoder, request(HttpMethod.POST, "/bingps?imei=868204005544720&csq=18&vout=00&vin=4050&dataid=00000000", -- cgit v1.2.3