mirror of
https://github.com/google/nomulus
synced 2025-12-23 14:25:44 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user