Commit d1e05724 by olly Committed by Ian Baker

Suppress warnings in preparation for Checker Framework 3.3.0 upgrade.

PiperOrigin-RevId: 305810757
parent 2dafb8fd
......@@ -166,7 +166,8 @@ public final class CronetEngineWrapper {
private final boolean preferGMSCoreCronet;
// Multi-catch can only be used for API 19+ in this case.
@SuppressWarnings("UseMultiCatch")
// incompatible types in argument.
@SuppressWarnings({"UseMultiCatch", "nullness:argument.type.incompatible"})
public CronetProviderComparator(boolean preferGMSCoreCronet) {
// GMSCore CronetProvider classes are only available in some configurations.
// Thus, we use reflection to copy static name.
......
......@@ -96,6 +96,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
return Assertions.checkNotNull(trackGroups);
}
// unboxing a possibly-null reference streamPeriodIndices.get(streams[i])
@SuppressWarnings("nullness:unboxing.of.nullable")
@Override
public long selectTracks(
@NullableType TrackSelection[] selections,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment