mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2024-12-11 11:29:41 +01:00
[YouTube] Add missing Nonnull annotations in getCache method of YouTube DASH manifest creators
This commit is contained in:
parent
f7b1515290
commit
fffbbee7f3
@ -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 New Issue
Block a user