Fix inspector warnings
This commit is contained in:
parent
d29e155648
commit
2c6be36647
@ -35,11 +35,11 @@ public class SpdyHeaderBlockRawDecoder extends SpdyHeaderBlockDecoder {
|
|||||||
throw new NullPointerException("spdyVersion");
|
throw new NullPointerException("spdyVersion");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.version = spdyVersion.getVersion();
|
version = spdyVersion.getVersion();
|
||||||
this.maxHeaderSize = maxHeaderSize;
|
this.maxHeaderSize = maxHeaderSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int readLengthField(ChannelBuffer buffer) {
|
private static int readLengthField(ChannelBuffer buffer) {
|
||||||
int length = getSignedInt(buffer, buffer.readerIndex());
|
int length = getSignedInt(buffer, buffer.readerIndex());
|
||||||
buffer.skipBytes(LENGTH_FIELD_SIZE);
|
buffer.skipBytes(LENGTH_FIELD_SIZE);
|
||||||
return length;
|
return length;
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
*/
|
*/
|
||||||
package org.jboss.netty.handler.codec.spdy;
|
package org.jboss.netty.handler.codec.spdy;
|
||||||
|
|
||||||
import static org.jboss.netty.handler.codec.spdy.SpdyCodecUtil.*;
|
import org.jboss.netty.buffer.ChannelBuffer;
|
||||||
|
import org.jboss.netty.buffer.ChannelBuffers;
|
||||||
|
|
||||||
import java.util.zip.DataFormatException;
|
import java.util.zip.DataFormatException;
|
||||||
import java.util.zip.Inflater;
|
import java.util.zip.Inflater;
|
||||||
|
|
||||||
import org.jboss.netty.buffer.ChannelBuffer;
|
import static org.jboss.netty.handler.codec.spdy.SpdyCodecUtil.*;
|
||||||
import org.jboss.netty.buffer.ChannelBuffers;
|
|
||||||
|
|
||||||
final class SpdyHeaderBlockZlibDecoder extends SpdyHeaderBlockRawDecoder {
|
final class SpdyHeaderBlockZlibDecoder extends SpdyHeaderBlockRawDecoder {
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ final class SpdyHeaderBlockZlibDecoder extends SpdyHeaderBlockRawDecoder {
|
|||||||
|
|
||||||
private ChannelBuffer decompressed;
|
private ChannelBuffer decompressed;
|
||||||
|
|
||||||
public SpdyHeaderBlockZlibDecoder(SpdyVersion spdyVersion, int maxHeaderSize) {
|
SpdyHeaderBlockZlibDecoder(SpdyVersion spdyVersion, int maxHeaderSize) {
|
||||||
super(spdyVersion, maxHeaderSize);
|
super(spdyVersion, maxHeaderSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user