Fix checkstyle

This commit is contained in:
Norman Maurer 2013-01-17 09:30:57 +01:00
parent 4472fe9795
commit 737a350854
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ import io.netty.channel.rxtx.RxtxChannelConfig.Stopbits;
/** /**
* Option for configuring a serial port connection * Option for configuring a serial port connection
*/ */
public class RxtxChannelOption<T> extends ChannelOption<T> { public final class RxtxChannelOption<T> extends ChannelOption<T> {
public static final RxtxChannelOption<Integer> BAUD_RATE = public static final RxtxChannelOption<Integer> BAUD_RATE =
new RxtxChannelOption<Integer>("BAUD_RATE"); new RxtxChannelOption<Integer>("BAUD_RATE");

View File

@ -54,7 +54,7 @@ public class SctpChannelOption<T> extends ChannelOption<T> {
public static final SctpChannelOption<SocketAddress> SCTP_SET_PEER_PRIMARY_ADDR = public static final SctpChannelOption<SocketAddress> SCTP_SET_PEER_PRIMARY_ADDR =
new SctpChannelOption<SocketAddress>("SCTP_SET_PEER_PRIMARY_ADDR"); new SctpChannelOption<SocketAddress>("SCTP_SET_PEER_PRIMARY_ADDR");
private SctpChannelOption(String name) { protected SctpChannelOption(String name) {
super(name); super(name);
} }
} }

View File

@ -21,7 +21,7 @@ import io.netty.channel.ChannelOption;
/** /**
* Options for the UDT transport * Options for the UDT transport
*/ */
public class UdtChannelOption<T> extends ChannelOption<T> { public final class UdtChannelOption<T> extends ChannelOption<T> {
/** /**
* See {@link OptionUDT#Protocol_Receive_Buffer_Size}. * See {@link OptionUDT#Protocol_Receive_Buffer_Size}.