*** Original commit ***

Suppress warnings emitted by Checker Framework version 2.11.1

More information:
https://docs.google.com/document/d/16tpK6aXqN68PvTyvt4siM-m7f0NXi_8xEeitLDzr8xY/edit?usp=sharing

Tested:
    TAP --sample ran all affected tests and none failed
    http://test/OCL:278915274:BASE:278884711:1573074344615:a6701677

***

PiperOrigin-RevId: 284741721
This commit is contained in:
ibaker 2019-12-10 12:18:30 +00:00 committed by Oliver Woodman
parent 3233995441
commit 9ec524a7e2
2 changed files with 1 additions and 11 deletions

View file

@ -51,12 +51,6 @@ import java.nio.ByteBuffer;
@Nullable private byte[] tempBuffer;
private boolean endOfExtractorInput;
// the constructor does not initialize fields: tempBuffer
// call to flacInit() not allowed on the given receiver.
@SuppressWarnings({
"nullness:initialization.fields.uninitialized",
"nullness:method.invocation.invalid"
})
public FlacDecoderJni() throws FlacDecoderException {
if (!FlacLibrary.isAvailable()) {
throw new FlacDecoderException("Failed to load decoder native libraries.");

View file

@ -226,11 +226,7 @@ public class DefaultTimeBar extends View implements TimeBar {
}
// Suppress warnings due to usage of View methods in the constructor.
// the constructor does not initialize fields: adGroupTimesMs, playedAdGroups
@SuppressWarnings({
"nullness:method.invocation.invalid",
"nullness:initialization.fields.uninitialized"
})
@SuppressWarnings("nullness:method.invocation.invalid")
public DefaultTimeBar(
Context context,
@Nullable AttributeSet attrs,