Remove redundant no-arg constructors
This commit is contained in:
parent
3d364c7f75
commit
957154c005
@ -25,12 +25,6 @@ import io.netty.util.CharsetUtil;
|
||||
*/
|
||||
public class HttpRequestEncoder extends HttpMessageEncoder {
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
*/
|
||||
public HttpRequestEncoder() {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void encodeInitialLine(ByteBuf buf, HttpMessage message) throws Exception {
|
||||
HttpRequest request = (HttpRequest) message;
|
||||
|
@ -25,12 +25,6 @@ import io.netty.util.CharsetUtil;
|
||||
*/
|
||||
public class HttpResponseEncoder extends HttpMessageEncoder {
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
*/
|
||||
public HttpResponseEncoder() {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void encodeInitialLine(ByteBuf buf, HttpMessage message) throws Exception {
|
||||
HttpResponse response = (HttpResponse) message;
|
||||
|
@ -20,12 +20,6 @@ package io.netty.handler.codec.spdy;
|
||||
*/
|
||||
public class DefaultSpdyNoOpFrame implements SpdyNoOpFrame {
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
*/
|
||||
public DefaultSpdyNoOpFrame() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getClass().getSimpleName();
|
||||
|
@ -29,12 +29,6 @@ public class DefaultSpdySettingsFrame implements SpdySettingsFrame {
|
||||
private boolean clear;
|
||||
private final Map<Integer, Setting> settingsMap = new TreeMap<Integer, Setting>();
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
*/
|
||||
public DefaultSpdySettingsFrame() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<Integer> getIds() {
|
||||
return settingsMap.keySet();
|
||||
|
@ -29,9 +29,6 @@ final class SpdySession {
|
||||
private final Map<Integer, StreamState> activeStreams =
|
||||
new ConcurrentHashMap<Integer, StreamState>();
|
||||
|
||||
SpdySession() {
|
||||
}
|
||||
|
||||
int numActiveStreams() {
|
||||
return activeStreams.size();
|
||||
}
|
||||
|
@ -42,12 +42,6 @@ public class ProtobufVarint32FrameDecoder extends ByteToMessageDecoder<Object> {
|
||||
// TODO maxFrameLength + safe skip + fail-fast option
|
||||
// (just like LengthFieldBasedFrameDecoder)
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
*/
|
||||
public ProtobufVarint32FrameDecoder() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object decode(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
|
||||
in.markReaderIndex();
|
||||
|
@ -28,11 +28,6 @@ import java.util.Map;
|
||||
public class SctpMessageCompletionHandler extends ChannelInboundMessageHandlerAdapter<SctpMessage> {
|
||||
private Map<Integer, ByteBuf> fragments = new HashMap<Integer, ByteBuf>();
|
||||
|
||||
/**
|
||||
*/
|
||||
public SctpMessageCompletionHandler() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void messageReceived(ChannelHandlerContext ctx, SctpMessage msg) throws Exception {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user