mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-23 03:17:38 +00:00
Fix some issues
This commit is contained in:
@@ -2072,7 +2072,6 @@ public final class VideoDetailFragment
|
|||||||
private StackItem findQueueInStack(final PlayQueue queue) {
|
private StackItem findQueueInStack(final PlayQueue queue) {
|
||||||
StackItem item = null;
|
StackItem item = null;
|
||||||
final Iterator<StackItem> iterator = stack.descendingIterator();
|
final Iterator<StackItem> iterator = stack.descendingIterator();
|
||||||
|
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
final StackItem next = iterator.next();
|
final StackItem next = iterator.next();
|
||||||
if (next.getPlayQueue().equals(queue)) {
|
if (next.getPlayQueue().equals(queue)) {
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
package org.schabi.newpipe.player.playqueue;
|
package org.schabi.newpipe.player.playqueue;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
public class PlayQueueItemTest {
|
public class PlayQueueItemTest {
|
||||||
|
|
||||||
public static final String URL = "MY_URL";
|
public static final String URL = "MY_URL";
|
||||||
|
Reference in New Issue
Block a user