Fix a few lint errors (#361)

Replace deprecated bouncycastle class in SslInitializerTestUils.

Generic array as vargs: worked around it in ProbingAction and
removed unused method in CircularList.
This commit is contained in:
Weimin Yu 2019-11-12 11:14:51 -05:00 committed by GitHub
parent bce09a3aa3
commit b005e3aeb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 46 deletions

View file

@ -92,14 +92,6 @@ public class CircularList<T> {
return this;
}
/** Simply calls {@code addElement}, for each element in {@code elements}. */
public AbstractBuilder<T, C> add(T... values) {
for (T element : values) {
add(element);
}
return this;
}
/** Simply calls {@code addElement}, for each element in {@code elements}. */
public AbstractBuilder<T, C> add(Iterable<T> values) {
values.forEach(this::add);