aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/GlobalChannelFactory.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-26 20:22:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-26 20:22:09 +1300
commit1fe18b404796c47e0eec31b4a40c9e4087e997b9 (patch)
tree7c20d4f1b570e4db9d4def27877ed42e6ad3f354 /src/org/traccar/GlobalChannelFactory.java
parent8bae4d69ba4db1a36201fa7c2745a85719902233 (diff)
downloadtrackermap-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.java4
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;
}