diff options
author | Moritz Maxeiner <mm@ucw.sh> | 2020-09-27 15:08:41 +0200 |
---|---|---|
committer | Moritz Maxeiner <mm@ucw.sh> | 2020-10-03 11:42:03 +0200 |
commit | 674706c39f7f9b82f3ed72e31ac9511ebd1a54a8 (patch) | |
tree | 4c4b09b2f2c07b6dd262d474baa1d507e89bb746 /app/src | |
parent | 09215909fa1cdecf6de7123c3f51bca08b039658 (diff) | |
download | dsub-674706c39f7f9b82f3ed72e31ac9511ebd1a54a8.tar.gz dsub-674706c39f7f9b82f3ed72e31ac9511ebd1a54a8.tar.bz2 dsub-674706c39f7f9b82f3ed72e31ac9511ebd1a54a8.zip |
Replace jetty ArrayQueue with java ArrayQueue
Diffstat (limited to 'app/src')
-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); |