Skip to content

Commit

Permalink
update redundant HollowYouTubeVideo constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
robinfriedli committed Jul 27, 2019
1 parent d7cd269 commit 0ca5d02
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ public class HollowYouTubeVideo extends AbstractSoftCachedPlayable implements Yo
private boolean canceled = false;

public HollowYouTubeVideo(YouTubeService youTubeService) {
this.youTubeService = youTubeService;
this.title = new CompletableFuture<>();
this.id = new CompletableFuture<>();
this.duration = new CompletableFuture<>();
this.redirectedSpotifyTrack = null;
this(youTubeService, null);
}

public HollowYouTubeVideo(YouTubeService youTubeService, @Nullable Track redirectedSpotifyTrack) {
Expand Down

0 comments on commit 0ca5d02

Please sign in to comment.