Skip to content

Commit

Permalink
Remove unused allocation introduced by d976dc1
Browse files Browse the repository at this point in the history
  • Loading branch information
normanmaurer committed Nov 17, 2017
1 parent 48b4502 commit 78522cf
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;

import static io.netty.handler.codec.http.HttpScheme.HTTP;
import static io.netty.handler.codec.http.HttpScheme.HTTPS;
Expand Down Expand Up @@ -446,7 +445,6 @@ private static CharSequenceMap<AsciiString> toLowercaseMap(List<String> values)

public static void toHttp2Headers(HttpHeaders inHeaders, Http2Headers out) {
Iterator<Entry<CharSequence, CharSequence>> iter = inHeaders.iteratorCharSequence();
new CharSequenceMap<AsciiString>();
CharSequenceMap<AsciiString> connectionBlacklist =
toLowercaseMap(inHeaders.getAll(HttpHeaderNames.CONNECTION));
while (iter.hasNext()) {
Expand Down

0 comments on commit 78522cf

Please sign in to comment.