mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Suppress an ExtendsObjects violation
to support enabling this as a compile-time error.
More information: go/lsc-extends-object
PiperOrigin-RevId: 454582570
(cherry picked from commit ab56f865ea)
This commit is contained in:
parent
2d5238d82b
commit
84e772ada8
1 changed files with 1 additions and 0 deletions
|
|
@ -2604,6 +2604,7 @@ public final class Util {
|
||||||
* @param newFromIndex The new from index.
|
* @param newFromIndex The new from index.
|
||||||
*/
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
|
@SuppressWarnings("ExtendsObject") // See go/lsc-extends-object
|
||||||
public static <T extends Object> void moveItems(
|
public static <T extends Object> void moveItems(
|
||||||
List<T> items, int fromIndex, int toIndex, int newFromIndex) {
|
List<T> items, int fromIndex, int toIndex, int newFromIndex) {
|
||||||
ArrayDeque<T> removedItems = new ArrayDeque<>();
|
ArrayDeque<T> removedItems = new ArrayDeque<>();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue