mirror of
https://github.com/samsonjs/media.git
synced 2026-04-13 12:35:48 +00:00
Suppress an ExtendsObjects violation
to support enabling this as a compile-time error. More information: go/lsc-extends-object PiperOrigin-RevId: 454582570
This commit is contained in:
parent
85b4779ccb
commit
d2f5f212b9
1 changed files with 1 additions and 0 deletions
|
|
@ -2489,6 +2489,7 @@ public final class Util {
|
|||
* @param toIndex The index up to which elements should be moved (exclusive).
|
||||
* @param newFromIndex The new from index.
|
||||
*/
|
||||
@SuppressWarnings("ExtendsObject") // See go/lsc-extends-object
|
||||
public static <T extends Object> void moveItems(
|
||||
List<T> items, int fromIndex, int toIndex, int newFromIndex) {
|
||||
ArrayDeque<T> removedItems = new ArrayDeque<>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue