Add final keyword
This commit is contained in:
parent
4df3c61233
commit
5f465da38d
|
@ -20,7 +20,7 @@ import io.netty.channel.DefaultChannelFuture;
|
||||||
|
|
||||||
public class ChannelRunnableWrapper extends DefaultChannelFuture implements Runnable {
|
public class ChannelRunnableWrapper extends DefaultChannelFuture implements Runnable {
|
||||||
|
|
||||||
private Runnable task;
|
private final Runnable task;
|
||||||
|
|
||||||
public ChannelRunnableWrapper(Channel channel, Runnable task) {
|
public ChannelRunnableWrapper(Channel channel, Runnable task) {
|
||||||
super(channel, true);
|
super(channel, true);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user