[YouTube] Add missing Nonnull annotations in getCache method of YouTube DASH manifest creators

This commit is contained in:
TiA4f8R 2022-05-14 12:30:53 +02:00
parent f7b1515290
commit fffbbee7f3
No known key found for this signature in database
GPG key ID: E6D3E7F5949450DD
3 changed files with 3 additions and 0 deletions

View file

@ -161,6 +161,7 @@ public final class YoutubeOtfDashManifestCreator {
/**
* @return the cache of DASH manifests generated for OTF streams
*/
@Nonnull
public static ManifestCreatorCache<String, String> getCache() {
return OTF_STREAMS_CACHE;
}

View file

@ -174,6 +174,7 @@ public final class YoutubePostLiveStreamDvrDashManifestCreator {
/**
* @return the cache of DASH manifests generated for post-live-DVR streams
*/
@Nonnull
public static ManifestCreatorCache<String, String> getCache() {
return POST_LIVE_DVR_STREAMS_CACHE;
}

View file

@ -114,6 +114,7 @@ public final class YoutubeProgressiveDashManifestCreator {
/**
* @return the cache of DASH manifests generated for progressive streams
*/
@Nonnull
public static ManifestCreatorCache<String, String> getCache() {
return PROGRESSIVE_STREAMS_CACHE;
}