[YouTube] Add missing Nonnull annotations in getCache method of YouTube DASH manifest creators
This commit is contained in:
parent
f7b1515290
commit
fffbbee7f3
3 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue