Add missing final modifiers
This commit is contained in:
parent
8ad50a3e9c
commit
a9cfde97f0
@ -26,7 +26,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class SctpMessageCompletionHandler extends ChannelInboundMessageHandlerAdapter<SctpMessage> {
|
||||
private Map<Integer, ByteBuf> fragments = new HashMap<Integer, ByteBuf>();
|
||||
private final Map<Integer, ByteBuf> fragments = new HashMap<Integer, ByteBuf>();
|
||||
|
||||
@Override
|
||||
public void messageReceived(ChannelHandlerContext ctx, SctpMessage msg) throws Exception {
|
||||
|
@ -31,7 +31,7 @@ public final class WebSocketSslServerSslContext {
|
||||
|
||||
private static final InternalLogger logger = InternalLoggerFactory.getInstance(WebSocketSslServerSslContext.class);
|
||||
private static final String PROTOCOL = "TLS";
|
||||
private SSLContext _serverContext;
|
||||
private final SSLContext _serverContext;
|
||||
|
||||
/**
|
||||
* Returns the singleton instance for this class
|
||||
|
@ -31,7 +31,7 @@ import static io.netty.channel.ChannelOption.*;
|
||||
*/
|
||||
public class DefaultSctpChannelConfig extends DefaultChannelConfig implements SctpChannelConfig {
|
||||
|
||||
private SctpChannel channel;
|
||||
private final SctpChannel channel;
|
||||
|
||||
public DefaultSctpChannelConfig(SctpChannel channel) {
|
||||
if (channel == null) {
|
||||
|
@ -18,8 +18,8 @@ package io.netty.channel.socket;
|
||||
import com.sun.nio.sctp.Notification;
|
||||
|
||||
public final class SctpNotificationEvent {
|
||||
private Notification notification;
|
||||
private Object attachment;
|
||||
private final Notification notification;
|
||||
private final Object attachment;
|
||||
|
||||
|
||||
public SctpNotificationEvent(Notification notification, Object attachment) {
|
||||
|
Loading…
Reference in New Issue
Block a user