Skip to content

Commit

Permalink
fix: findbugs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianhua Ran committed Nov 4, 2018
1 parent 4ed74c3 commit 28a20ad
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -81,6 +83,7 @@ public class MultiPointOutputStream {
IOException syncException;
@NonNull ArrayList<Integer> noMoreStreamList;

@SuppressFBWarnings("IS2_INCONSISTENT_SYNC")
List<Integer> requireStreamBlocks;

MultiPointOutputStream(@NonNull final DownloadTask task,
Expand Down

0 comments on commit 28a20ad

Please sign in to comment.