diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-03-26 20:22:09 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-03-26 20:22:09 +1300 |
commit | 1fe18b404796c47e0eec31b4a40c9e4087e997b9 (patch) | |
tree | 7c20d4f1b570e4db9d4def27877ed42e6ad3f354 /src/org/traccar/GlobalChannelFactory.java | |
parent | 8bae4d69ba4db1a36201fa7c2745a85719902233 (diff) | |
download | trackermap-server-1fe18b404796c47e0eec31b4a40c9e4087e997b9.tar.gz trackermap-server-1fe18b404796c47e0eec31b4a40c9e4087e997b9.tar.bz2 trackermap-server-1fe18b404796c47e0eec31b4a40c9e4087e997b9.zip |
Small code improvements
Diffstat (limited to 'src/org/traccar/GlobalChannelFactory.java')
-rw-r--r-- | src/org/traccar/GlobalChannelFactory.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/traccar/GlobalChannelFactory.java b/src/org/traccar/GlobalChannelFactory.java index a93703286..489207e39 100644 --- a/src/org/traccar/GlobalChannelFactory.java +++ b/src/org/traccar/GlobalChannelFactory.java @@ -38,9 +38,7 @@ public class GlobalChannelFactory { public static ChannelFactory getFactory() { if(instance == null) { - instance = new NioServerSocketChannelFactory( - Executors.newCachedThreadPool(), - Executors.newCachedThreadPool()); + instance = new NioServerSocketChannelFactory(); } return instance; } |