diff options
author | Scott Jackson <daneren2005@gmail.com> | 2020-10-08 20:41:18 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2020-10-08 20:41:18 -0700 |
commit | a78627e4e0659862d934e1d85d2a3a844e4ae108 (patch) | |
tree | d14b007fbeec542d89fe53086f30fe720cf5ddfe | |
parent | e4ee3faa81288023b9e919a8687cfe1a9e87fa1c (diff) | |
parent | fce3797f7adef250d97945547ee325969b2e90af (diff) | |
download | dsub-a78627e4e0659862d934e1d85d2a3a844e4ae108.tar.gz dsub-a78627e4e0659862d934e1d85d2a3a844e4ae108.tar.bz2 dsub-a78627e4e0659862d934e1d85d2a3a844e4ae108.zip |
Merge remote-tracking branch 'origin/edge' into edge
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/util/DownloadFileItemHelperCallback.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/DownloadFileItemHelperCallback.java b/app/src/main/java/github/daneren2005/dsub/util/DownloadFileItemHelperCallback.java index e1e2dc63..0e80295a 100644 --- a/app/src/main/java/github/daneren2005/dsub/util/DownloadFileItemHelperCallback.java +++ b/app/src/main/java/github/daneren2005/dsub/util/DownloadFileItemHelperCallback.java @@ -4,9 +4,9 @@ import android.support.v7.widget.RecyclerView; import android.support.v7.widget.helper.ItemTouchHelper; import android.util.Log; -import org.eclipse.jetty.util.ArrayQueue; import java.util.Queue; +import java.util.ArrayDeque; import github.daneren2005.dsub.adapter.SectionAdapter; import github.daneren2005.dsub.fragments.SubsonicFragment; @@ -22,7 +22,7 @@ public class DownloadFileItemHelperCallback extends ItemTouchHelper.SimpleCallba private boolean mainList; private BackgroundTask pendingTask = null; - private Queue pendingOperations = new ArrayQueue(); + private Queue pendingOperations = new ArrayDeque(); public DownloadFileItemHelperCallback(SubsonicFragment fragment, boolean mainList) { super(ItemTouchHelper.UP | ItemTouchHelper.DOWN, ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT); |