mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Remove useless assertions
This commit is contained in:
parent
13fb0baf0e
commit
efc6992e17
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue