diff --git a/okdownload/src/main/java/com/liulishuo/okdownload/core/file/MultiPointOutputStream.java b/okdownload/src/main/java/com/liulishuo/okdownload/core/file/MultiPointOutputStream.java index bd16ea9e..ea8f1fea 100644 --- a/okdownload/src/main/java/com/liulishuo/okdownload/core/file/MultiPointOutputStream.java +++ b/okdownload/src/main/java/com/liulishuo/okdownload/core/file/MultiPointOutputStream.java @@ -48,6 +48,8 @@ import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.locks.LockSupport; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; + public class MultiPointOutputStream { private static final String TAG = "MultiPointOutputStream"; private static final ExecutorService FILE_IO_EXECUTOR = new ThreadPoolExecutor(0, @@ -81,6 +83,7 @@ public class MultiPointOutputStream { IOException syncException; @NonNull ArrayList noMoreStreamList; + @SuppressFBWarnings("IS2_INCONSISTENT_SYNC") List requireStreamBlocks; MultiPointOutputStream(@NonNull final DownloadTask task,