[#1710] Add missing duplicate() overrides in interfaces

This commit is contained in:
Norman Maurer 2013-09-02 10:02:12 +02:00
parent 54d788f435
commit 81258e9a4e
5 changed files with 13 additions and 1 deletions

View File

@ -50,7 +50,7 @@ final class ComposedLastHttpContent implements LastHttpContent {
} }
@Override @Override
public HttpContent duplicate() { public LastHttpContent duplicate() {
return copy(); return copy();
} }

View File

@ -28,4 +28,7 @@ public interface FullHttpMessage extends HttpMessage, LastHttpContent {
@Override @Override
FullHttpMessage retain(); FullHttpMessage retain();
@Override
FullHttpMessage duplicate();
} }

View File

@ -29,6 +29,9 @@ public interface FullHttpRequest extends HttpRequest, FullHttpMessage {
@Override @Override
FullHttpRequest retain(); FullHttpRequest retain();
@Override
FullHttpRequest duplicate();
@Override @Override
FullHttpRequest setProtocolVersion(HttpVersion version); FullHttpRequest setProtocolVersion(HttpVersion version);

View File

@ -29,6 +29,9 @@ public interface FullHttpResponse extends HttpResponse, FullHttpMessage {
@Override @Override
FullHttpResponse retain(); FullHttpResponse retain();
@Override
FullHttpResponse duplicate();
@Override @Override
FullHttpResponse setProtocolVersion(HttpVersion version); FullHttpResponse setProtocolVersion(HttpVersion version);

View File

@ -95,4 +95,7 @@ public interface LastHttpContent extends HttpContent {
@Override @Override
LastHttpContent retain(); LastHttpContent retain();
@Override
LastHttpContent duplicate();
} }