diff --git a/imagepipeline-base-test/src/main/java/com/facebook/imagepipeline/testing/TestScheduledFuture.java b/imagepipeline-base-test/src/main/java/com/facebook/imagepipeline/testing/TestScheduledFuture.java index ed4c250865..f083138812 100644 --- a/imagepipeline-base-test/src/main/java/com/facebook/imagepipeline/testing/TestScheduledFuture.java +++ b/imagepipeline-base-test/src/main/java/com/facebook/imagepipeline/testing/TestScheduledFuture.java @@ -7,6 +7,7 @@ package com.facebook.imagepipeline.testing; +import com.facebook.infer.annotation.Nullsafe; import java.util.concurrent.Callable; import java.util.concurrent.Delayed; import java.util.concurrent.ExecutionException; @@ -16,6 +17,7 @@ import java.util.concurrent.TimeoutException; import javax.annotation.Nullable; +@Nullsafe(Nullsafe.Mode.LOCAL) public class TestScheduledFuture implements ScheduledFuture { private final FakeClock mFakeClock; @@ -24,6 +26,7 @@ public class TestScheduledFuture implements ScheduledFuture { private final Runnable mWrap; private boolean mIsCanceled; private boolean mIsDone; + // NULLSAFE_FIXME[Field Not Initialized] private V mResult; @Nullable private Throwable mResultThrowable;