mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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() {
|
public boolean skipToPreviousPlaylistItem() {
|
||||||
Timeline timeline = player.getCurrentTimeline();
|
|
||||||
Assertions.checkState(!timeline.isEmpty());
|
|
||||||
return controlDispatcher.dispatchPrevious(player);
|
return controlDispatcher.dispatchPrevious(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean skipToNextPlaylistItem() {
|
public boolean skipToNextPlaylistItem() {
|
||||||
Timeline timeline = player.getCurrentTimeline();
|
|
||||||
Assertions.checkState(!timeline.isEmpty());
|
|
||||||
return controlDispatcher.dispatchNext(player);
|
return controlDispatcher.dispatchNext(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue