Tighten up visibility as the user should use Channel.new*Future

This commit is contained in:
Norman Maurer 2012-12-20 10:45:12 +01:00
parent 1f9d165583
commit 94dc09c33d
3 changed files with 3 additions and 4 deletions

View File

@ -21,7 +21,7 @@ import java.util.concurrent.TimeUnit;
* A skeletal {@link ChannelFuture} implementation which represents a
* {@link ChannelFuture} which has been completed already.
*/
public abstract class CompleteChannelFuture implements ChannelFuture {
abstract class CompleteChannelFuture implements ChannelFuture {
private final Channel channel;

View File

@ -15,7 +15,6 @@
*/
package io.netty.channel;
import java.nio.channels.Channels;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
@ -25,7 +24,7 @@ import java.util.concurrent.TimeoutException;
* recommended to use {@link Channel#newFailedFuture(Throwable)}
* instead of calling the constructor of this future.
*/
public class FailedChannelFuture extends CompleteChannelFuture {
class FailedChannelFuture extends CompleteChannelFuture {
private final Throwable cause;

View File

@ -24,7 +24,7 @@ import java.util.concurrent.TimeoutException;
* recommended to use {@link Channel#newSucceededFuture()} instead of
* calling the constructor of this future.
*/
public class SucceededChannelFuture extends CompleteChannelFuture {
class SucceededChannelFuture extends CompleteChannelFuture {
/**
* Creates a new instance.