From 06639e0a2fd27e479a4472912b980bfe3a6d5b79 Mon Sep 17 00:00:00 2001 From: ibaker Date: Thu, 10 Mar 2022 17:15:49 +0000 Subject: [PATCH] Fix stale javadoc in DashUtil The type of this parameter was changed when it was moved from OfflineLicenseHelper to DashUtil in PiperOrigin-RevId: 433770325 --- .../com/google/android/exoplayer2/source/dash/DashUtil.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashUtil.java b/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashUtil.java index 4f07aa3d9db..239532b3834 100644 --- a/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashUtil.java +++ b/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/DashUtil.java @@ -33,7 +33,6 @@ import com.google.android.exoplayer2.source.dash.manifest.Representation; import com.google.android.exoplayer2.upstream.DataSource; import com.google.android.exoplayer2.upstream.DataSpec; -import com.google.android.exoplayer2.upstream.HttpDataSource; import com.google.android.exoplayer2.upstream.ParsingLoadable; import com.google.android.exoplayer2.util.Assertions; import com.google.android.exoplayer2.util.MimeTypes; @@ -83,7 +82,7 @@ public static DataSpec buildDataSpec( /** * Loads a DASH manifest. * - * @param dataSource The {@link HttpDataSource} from which the manifest should be read. + * @param dataSource The {@link DataSource} from which the manifest should be read. * @param uri The {@link Uri} of the manifest to be read. * @return An instance of {@link DashManifest}. * @throws IOException Thrown when there is an error while loading. @@ -95,7 +94,7 @@ public static DashManifest loadManifest(DataSource dataSource, Uri uri) throws I /** * Loads a {@link Format} for acquiring keys for a given period in a DASH manifest. * - * @param dataSource The {@link HttpDataSource} from which data should be loaded. + * @param dataSource The {@link DataSource} from which data should be loaded. * @param period The {@link Period}. * @return The loaded {@link Format}, or null if none is defined. * @throws IOException Thrown when there is an error while loading.