aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@users.noreply.github.com>2020-10-03 09:27:54 -0700
committerGitHub <noreply@github.com>2020-10-03 09:27:54 -0700
commitfce3797f7adef250d97945547ee325969b2e90af (patch)
tree4c4b09b2f2c07b6dd262d474baa1d507e89bb746
parent09215909fa1cdecf6de7123c3f51bca08b039658 (diff)
parent674706c39f7f9b82f3ed72e31ac9511ebd1a54a8 (diff)
downloaddsub-fce3797f7adef250d97945547ee325969b2e90af.tar.gz
dsub-fce3797f7adef250d97945547ee325969b2e90af.tar.bz2
dsub-fce3797f7adef250d97945547ee325969b2e90af.zip
Merge pull request #1017 from MoritzMaxeiner/dsub_mergeback_jetty
Replace jetty ArrayQueue with java ArrayQueue
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/DownloadFileItemHelperCallback.java4
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);