Merge pull request #697 from CruzBishop/more-checkstyle
Small checkstyle fixes
This commit is contained in:
commit
a9814fbf93
@ -41,14 +41,14 @@ public class SpdyHttpResponseStreamIdHandler extends
|
||||
@Override
|
||||
public Object encode(ChannelHandlerContext ctx, Object msg) throws Exception {
|
||||
if (msg instanceof HttpMessage) {
|
||||
boolean contains = ((HttpMessage)msg).containsHeader(SpdyHttpHeaders.Names.STREAM_ID);
|
||||
boolean contains = ((HttpMessage) msg).containsHeader(SpdyHttpHeaders.Names.STREAM_ID);
|
||||
if (!contains) {
|
||||
ids.add(NO_ID);
|
||||
} else {
|
||||
ids.add(SpdyHttpHeaders.getStreamId((HttpMessage) msg));
|
||||
}
|
||||
} else if (msg instanceof SpdyRstStreamFrame) {
|
||||
ids.remove(((SpdyRstStreamFrame)msg).getStreamId());
|
||||
ids.remove(((SpdyRstStreamFrame) msg).getStreamId());
|
||||
}
|
||||
|
||||
return msg;
|
||||
|
@ -31,7 +31,7 @@
|
||||
*
|
||||
* <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>.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user