From c2db7d421cfeead820cc58598e8a91fe84cf0286 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 1 Jun 2024 07:00:13 -0700 Subject: Add final keyword --- src/main/java/org/traccar/EventLoopGroupFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/org/traccar/EventLoopGroupFactory.java b/src/main/java/org/traccar/EventLoopGroupFactory.java index 482559253..5c6fb7459 100644 --- a/src/main/java/org/traccar/EventLoopGroupFactory.java +++ b/src/main/java/org/traccar/EventLoopGroupFactory.java @@ -20,8 +20,8 @@ import io.netty.channel.nio.NioEventLoopGroup; public final class EventLoopGroupFactory { - private static EventLoopGroup bossGroup = new NioEventLoopGroup(); - private static EventLoopGroup workerGroup = new NioEventLoopGroup(); + private static final EventLoopGroup bossGroup = new NioEventLoopGroup(); + private static final EventLoopGroup workerGroup = new NioEventLoopGroup(); private EventLoopGroupFactory() { } -- cgit v1.2.3