aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-06-01 07:41:22 -0700
committerAnton Tananaev <anton@traccar.org>2024-06-01 07:41:22 -0700
commitc21ca48b6b255cde193efb476f83b1fac5c894f2 (patch)
treeb2977ef5183166712b72c24dd123d1f4e0dd1617 /src/main/java
parent13b7eff68004fdc03ed4f754d65fcda1bf4f2231 (diff)
downloadtrackermap-server-c21ca48b6b255cde193efb476f83b1fac5c894f2.tar.gz
trackermap-server-c21ca48b6b255cde193efb476f83b1fac5c894f2.tar.bz2
trackermap-server-c21ca48b6b255cde193efb476f83b1fac5c894f2.zip
Fix style issues
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/EventLoopGroupFactory.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/EventLoopGroupFactory.java b/src/main/java/org/traccar/EventLoopGroupFactory.java
index edad4e3ff..4087b9a02 100644
--- a/src/main/java/org/traccar/EventLoopGroupFactory.java
+++ b/src/main/java/org/traccar/EventLoopGroupFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 - 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2012 - 2024 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,18 +20,18 @@ import io.netty.channel.nio.NioEventLoopGroup;
public final class EventLoopGroupFactory {
- private final static EventLoopGroup bossGroup = new NioEventLoopGroup();
- private final static EventLoopGroup workerGroup = new NioEventLoopGroup();
+ private final static EventLoopGroup BOSS_GROUP = new NioEventLoopGroup();
+ private final static EventLoopGroup WORKER_GROUP = new NioEventLoopGroup();
private EventLoopGroupFactory() {
}
public static EventLoopGroup getBossGroup() {
- return bossGroup;
+ return BOSS_GROUP;
}
public static EventLoopGroup getWorkerGroup() {
- return workerGroup;
+ return WORKER_GROUP;
}
}