Commit 0b97f089 by olly Committed by Oliver Woodman

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
parent 8cc1328d
...@@ -375,7 +375,7 @@ public class PlaybackException extends Exception implements Bundleable { ...@@ -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) {
......
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