aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/GatorProtocol.java4
-rw-r--r--src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/protocol/GatorProtocol.java b/src/main/java/org/traccar/protocol/GatorProtocol.java
index bb0e017f4..46862f583 100644
--- a/src/main/java/org/traccar/protocol/GatorProtocol.java
+++ b/src/main/java/org/traccar/protocol/GatorProtocol.java
@@ -28,9 +28,7 @@ public class GatorProtocol extends BaseProtocol {
@Inject
public GatorProtocol(Config config) {
- setSupportedDataCommands(
- Command.TYPE_POSITION_SINGLE
- );
+ setSupportedDataCommands(Command.TYPE_POSITION_SINGLE);
addServer(new TrackerServer(config, getName(), false) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline, Config config) {
diff --git a/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
index 04fce0ac8..a3bc3af2b 100644
--- a/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
@@ -9,7 +9,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class GatorProtocolEncoderTest extends ProtocolTest {
@Test
- void encodeId() throws Exception {
+ void testEncodeId() throws Exception {
var encoder = inject(new GatorProtocolEncoder(null));
assertEquals("2008958C", encoder.encodeId(13332082112L));
}