Remove unused imports in DefaultHttp2LocalFlowController.java and HpackStaticTable.java (#10265)
Motivation: `io.netty.handler.codec.http2.Http2Stream.State` is never used in DefaultHttp2LocalFlowController.java, and `io.netty.handler.codec.http2.HpackUtil.equalsConstantTime` is never used in HpackStaticTable.java. Modification: Just remove these unused imports. Result: Make imports cleaner.
This commit is contained in:
parent
322d96ef92
commit
4c758a214d
@ -31,7 +31,6 @@ import io.netty.buffer.ByteBuf;
|
|||||||
import io.netty.channel.ChannelHandlerContext;
|
import io.netty.channel.ChannelHandlerContext;
|
||||||
import io.netty.handler.codec.http2.Http2Exception.CompositeStreamException;
|
import io.netty.handler.codec.http2.Http2Exception.CompositeStreamException;
|
||||||
import io.netty.handler.codec.http2.Http2Exception.StreamException;
|
import io.netty.handler.codec.http2.Http2Exception.StreamException;
|
||||||
import io.netty.handler.codec.http2.Http2Stream.State;
|
|
||||||
import io.netty.util.internal.PlatformDependent;
|
import io.netty.util.internal.PlatformDependent;
|
||||||
import io.netty.util.internal.UnstableApi;
|
import io.netty.util.internal.UnstableApi;
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ import io.netty.util.AsciiString;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static io.netty.handler.codec.http2.HpackUtil.equalsConstantTime;
|
|
||||||
import static io.netty.handler.codec.http2.HpackUtil.equalsVariableTime;
|
import static io.netty.handler.codec.http2.HpackUtil.equalsVariableTime;
|
||||||
|
|
||||||
final class HpackStaticTable {
|
final class HpackStaticTable {
|
||||||
|
Loading…
Reference in New Issue
Block a user