mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-29 00:10:35 +05:30
[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
|
* @return the cache of DASH manifests generated for OTF streams
|
||||||
*/
|
*/
|
||||||
|
@Nonnull
|
||||||
public static ManifestCreatorCache<String, String> getCache() {
|
public static ManifestCreatorCache<String, String> getCache() {
|
||||||
return OTF_STREAMS_CACHE;
|
return OTF_STREAMS_CACHE;
|
||||||
}
|
}
|
||||||
|
@ -174,6 +174,7 @@ public final class YoutubePostLiveStreamDvrDashManifestCreator {
|
|||||||
/**
|
/**
|
||||||
* @return the cache of DASH manifests generated for post-live-DVR streams
|
* @return the cache of DASH manifests generated for post-live-DVR streams
|
||||||
*/
|
*/
|
||||||
|
@Nonnull
|
||||||
public static ManifestCreatorCache<String, String> getCache() {
|
public static ManifestCreatorCache<String, String> getCache() {
|
||||||
return POST_LIVE_DVR_STREAMS_CACHE;
|
return POST_LIVE_DVR_STREAMS_CACHE;
|
||||||
}
|
}
|
||||||
|
@ -114,6 +114,7 @@ public final class YoutubeProgressiveDashManifestCreator {
|
|||||||
/**
|
/**
|
||||||
* @return the cache of DASH manifests generated for progressive streams
|
* @return the cache of DASH manifests generated for progressive streams
|
||||||
*/
|
*/
|
||||||
|
@Nonnull
|
||||||
public static ManifestCreatorCache<String, String> getCache() {
|
public static ManifestCreatorCache<String, String> getCache() {
|
||||||
return PROGRESSIVE_STREAMS_CACHE;
|
return PROGRESSIVE_STREAMS_CACHE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user