Remove useless assertions

parent 13fb0baf
......@@ -231,14 +231,10 @@ import java.util.List;
}
public boolean skipToPreviousPlaylistItem() {
Timeline timeline = player.getCurrentTimeline();
Assertions.checkState(!timeline.isEmpty());
return controlDispatcher.dispatchPrevious(player);
}
public boolean skipToNextPlaylistItem() {
Timeline timeline = player.getCurrentTimeline();
Assertions.checkState(!timeline.isEmpty());
return controlDispatcher.dispatchNext(player);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment