mirror of
https://github.com/samsonjs/media.git
synced 2026-04-18 13:25:47 +00:00
Suppress warnings in preparation for Checker Framework 3.2.0 upgrade.
In particular, replace @SuppressWarnings("initialization") with
@SuppressWarnings("nullness"); see
https://github.com/typetools/checker-framework/issues/3212.
More information: go/checker-lsc
Tested:
TAP train for global presubmit queue
http://test/OCL:304697666:BASE:304680497:1585968008044:f0c4fd6c
PiperOrigin-RevId: 304751415
This commit is contained in:
parent
a6358dc7be
commit
8583cd92c7
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ public abstract class SimpleSubtitleDecoder extends
|
|||
private final String name;
|
||||
|
||||
/** @param name The name of the decoder. */
|
||||
@SuppressWarnings("initialization:method.invocation.invalid")
|
||||
@SuppressWarnings("nullness:method.invocation.invalid")
|
||||
protected SimpleSubtitleDecoder(String name) {
|
||||
super(new SubtitleInputBuffer[2], new SubtitleOutputBuffer[2]);
|
||||
this.name = name;
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ public class TrackSelectionParameters implements Parcelable {
|
|||
*
|
||||
* @param context Any context.
|
||||
*/
|
||||
@SuppressWarnings({"deprecation", "initialization:method.invocation.invalid"})
|
||||
@SuppressWarnings({"deprecation", "nullness:method.invocation.invalid"})
|
||||
public Builder(Context context) {
|
||||
this();
|
||||
setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings(context);
|
||||
|
|
|
|||
Loading…
Reference in a new issue