Small checkstyle fixes
Netty can build again, now. Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
This commit is contained in:
parent
92f7069076
commit
93d0226c03
@ -41,14 +41,14 @@ public class SpdyHttpResponseStreamIdHandler extends
|
|||||||
@Override
|
@Override
|
||||||
public Object encode(ChannelHandlerContext ctx, Object msg) throws Exception {
|
public Object encode(ChannelHandlerContext ctx, Object msg) throws Exception {
|
||||||
if (msg instanceof HttpMessage) {
|
if (msg instanceof HttpMessage) {
|
||||||
boolean contains = ((HttpMessage)msg).containsHeader(SpdyHttpHeaders.Names.STREAM_ID);
|
boolean contains = ((HttpMessage) msg).containsHeader(SpdyHttpHeaders.Names.STREAM_ID);
|
||||||
if (!contains) {
|
if (!contains) {
|
||||||
ids.add(NO_ID);
|
ids.add(NO_ID);
|
||||||
} else {
|
} else {
|
||||||
ids.add(SpdyHttpHeaders.getStreamId((HttpMessage) msg));
|
ids.add(SpdyHttpHeaders.getStreamId((HttpMessage) msg));
|
||||||
}
|
}
|
||||||
} else if (msg instanceof SpdyRstStreamFrame) {
|
} else if (msg instanceof SpdyRstStreamFrame) {
|
||||||
ids.remove(((SpdyRstStreamFrame)msg).getStreamId());
|
ids.remove(((SpdyRstStreamFrame) msg).getStreamId());
|
||||||
}
|
}
|
||||||
|
|
||||||
return msg;
|
return msg;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
*
|
*
|
||||||
* <p>04. Install Twisted: <tt>sudo apt-get install python-twisted</tt>
|
* <p>04. Install Twisted: <tt>sudo apt-get install python-twisted</tt>
|
||||||
*
|
*
|
||||||
* <p>05. Install AutoBahn: <tt>sudo easy_install autobahntestsuite</tt>. Test using <tt>wstest --help<tt>.
|
* <p>05. Install AutoBahn: <tt>sudo easy_install autobahntestsuite</tt>. Test using <tt>wstest --help</tt>.
|
||||||
*
|
*
|
||||||
* <p>06. Create a directory for test configuration and results: <tt>mkdir autobahn</tt> <tt>cd autobahn</tt>.
|
* <p>06. Create a directory for test configuration and results: <tt>mkdir autobahn</tt> <tt>cd autobahn</tt>.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user