aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/GlobalChannelFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/GlobalChannelFactory.java')
-rw-r--r--src/org/traccar/GlobalChannelFactory.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/GlobalChannelFactory.java b/src/org/traccar/GlobalChannelFactory.java
index 37eecf51b..aa4f855c5 100644
--- a/src/org/traccar/GlobalChannelFactory.java
+++ b/src/org/traccar/GlobalChannelFactory.java
@@ -20,11 +20,14 @@ import org.jboss.netty.channel.socket.DatagramChannelFactory;
import org.jboss.netty.channel.socket.nio.NioDatagramChannelFactory;
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;
-public class GlobalChannelFactory {
+public final class GlobalChannelFactory {
private static ChannelFactory channelFactory = null;
private static DatagramChannelFactory datagramChannelFactory = null;
+ private GlobalChannelFactory() {
+ }
+
public static void release() {
if (channelFactory != null) {
channelFactory.releaseExternalResources();