mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Suppress warnings in preparation for Checker Framework 3.13.0 upgrade.
LSC: go/checker-lsc
Tested:
TAP train for global presubmit queue
http://test/OCL:379220771:BASE:379219228:1623675799153:ea986c7c
PiperOrigin-RevId: 379284240
This commit is contained in:
parent
8cc1328d89
commit
0b97f08955
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ public class PlaybackException extends Exception implements Bundleable {
|
||||||
try {
|
try {
|
||||||
Field creatorField = Class.forName(className).getField("CREATOR");
|
Field creatorField = Class.forName(className).getField("CREATOR");
|
||||||
// It is ok to pass null to Field.get for static fields.
|
// It is ok to pass null to Field.get for static fields.
|
||||||
@SuppressWarnings("argument.type.incompatible")
|
@SuppressWarnings({"argument.type.incompatible", "nullness:argument"})
|
||||||
Creator<PlaybackException> creator =
|
Creator<PlaybackException> creator =
|
||||||
(Creator<PlaybackException>) creatorField.get(/* obj= */ null);
|
(Creator<PlaybackException>) creatorField.get(/* obj= */ null);
|
||||||
if (creator != null) {
|
if (creator != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue