diff options
Diffstat (limited to 'src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java index 27efbd6db..357da8f7b 100644 --- a/src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java +++ b/src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java @@ -11,7 +11,7 @@ public class Xrb28ProtocolEncoderTest extends ProtocolTest { @Test public void testEncodePositionPeriodic() { - Xrb28ProtocolEncoder encoder = new Xrb28ProtocolEncoder(null); + var encoder = new Xrb28ProtocolEncoder(null); Command command = new Command(); command.setDeviceId(1); @@ -25,7 +25,7 @@ public class Xrb28ProtocolEncoderTest extends ProtocolTest { @Test public void testEncodeCustom() { - Xrb28ProtocolEncoder encoder = new Xrb28ProtocolEncoder(null); + var encoder = new Xrb28ProtocolEncoder(null); Command command = new Command(); command.setDeviceId(1); |