Use Iterable#forEach instead of `.stream().forEach`.
@@ -440,7 +440,7 @@ public final class StrictJavaDepsPlugin extends BlazeJavaCompilerPlugin {
@Override
public Void visitArray(List<? extends AnnotationValue> vals, Void aVoid) {
- vals.stream().forEachOrdered(v -> v.accept(this, null));
+ vals.forEach(v -> v.accept(this, null));
return super.visitArray(vals, aVoid);
}
},
