Breaking Change: Remove unused overload of AbstractMessageLite.addAll that worked on a Collection instead of a List.

PiperOrigin-RevId: 597869849
pull/15426/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent 2f5305d7fe
commit 3b9bd6db71
  1. 6
      java/core/src/main/java/com/google/protobuf/AbstractMessageLite.java

@ -113,12 +113,6 @@ public abstract class AbstractMessageLite<
}
}
// For binary compatibility
@Deprecated
protected static <T> void addAll(final Iterable<T> values, final Collection<? super T> list) {
Builder.addAll(values, (List) list);
}
protected static <T> void addAll(final Iterable<T> values, final List<? super T> list) {
Builder.addAll(values, list);
}

Loading…
Cancel
Save