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:
feijermu 2020-05-11 21:10:20 +08:00 committed by Norman Maurer
parent 31272ab431
commit 803a2cc911
2 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@ import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http2.Http2Exception.CompositeStreamException;
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.UnstableApi;

View File

@ -37,7 +37,6 @@ import io.netty.util.AsciiString;
import java.util.Arrays;
import java.util.List;
import static io.netty.handler.codec.http2.HpackUtil.equalsConstantTime;
import static io.netty.handler.codec.http2.HpackUtil.equalsVariableTime;
final class HpackStaticTable {