Make data sources private in SegmentDownloader

Also fix SegmentDownloader.remove to not return early

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165295432
This commit is contained in:
olly 2017-07-16 05:14:19 +01:00 committed by Oliver Woodman
parent f8e47553e8
commit c94bce17b4

View File

@ -111,7 +111,8 @@ public final class DashUtil {
* *
* @param dataSource The source from which the data should be loaded. * @param dataSource The source from which the data should be loaded.
* @param representation The representation which initialization chunk belongs to. * @param representation The representation which initialization chunk belongs to.
* @return {@link ChunkIndex} of the given representation. * @return The {@link ChunkIndex} of the given representation, or null if no initialization or
* index data exists.
* @throws IOException Thrown when there is an error while loading. * @throws IOException Thrown when there is an error while loading.
* @throws InterruptedException Thrown if the thread was interrupted. * @throws InterruptedException Thrown if the thread was interrupted.
*/ */