Add missing no-arg constructor

This commit is contained in:
norman 2012-03-27 09:39:17 +02:00
parent 784bf791c2
commit 80490f5170

View File

@ -16,6 +16,7 @@
package org.jboss.netty.channel.socket.oio;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.RejectedExecutionException;
import org.jboss.netty.channel.Channel;
@ -75,6 +76,15 @@ public class OioDatagramChannelFactory implements DatagramChannelFactory {
private final Executor workerExecutor;
final OioDatagramPipelineSink sink;
/**
* Creates a new instance with a {@link Executors#newCachedThreadPool()}
*
* See {@link #OioDatagramChannelFactory(Executor)}
*/
public OioDatagramChannelFactory() {
this(Executors.newCachedThreadPool());
}
/**
* Creates a new instance.
*