Fixing checkstyle violations

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2020-11-24 13:36:25 -06:00
parent 3f5fe03a32
commit a133e195d8
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
2 changed files with 1 additions and 9 deletions

View File

@ -18,13 +18,7 @@
package org.eclipse.jetty.http2;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.jetty.util.ArrayTrie;
import org.eclipse.jetty.util.Trie;
@ -37,6 +31,7 @@ public class HTTP2Cipher
private static final Trie<Boolean> __blackCiphers = new ArrayTrie<>(275 * 40);
static String[] _xxx;
static
{
String[] protocols = {"TLSv1.2", "TLSv1.1", "TLSv1", "SSL", "SSLv2", "SSLv3"};

View File

@ -20,9 +20,7 @@ package org.eclipse.jetty.util;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.stream.Stream;
@ -256,7 +254,6 @@ public class TrieTest
testGetBestBuffer(trie);
}
public static int requiredCapacity(Set<String> keys)
{
List<String> list = new ArrayList<>(keys);