From 19087a7fa0481dde8ae266d8b9cfe196477b2aa6 Mon Sep 17 00:00:00 2001 From: olly Date: Thu, 20 Jul 2017 04:56:02 -0700 Subject: [PATCH] Fix broken Javadoc ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=162601961 --- .../ext/mediasession/MediaSessionConnector.java | 4 ++-- .../extractor/DefaultExtractorsFactory.java | 2 +- .../source/DynamicConcatenatingMediaSource.java | 12 ++++++------ .../com/google/android/exoplayer2/util/Clock.java | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/MediaSessionConnector.java b/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/MediaSessionConnector.java index 0f96e5104f..9f3e299e96 100644 --- a/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/MediaSessionConnector.java +++ b/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/MediaSessionConnector.java @@ -164,7 +164,7 @@ public final class MediaSessionConnector { */ long getActiveQueueItemId(@Nullable ExoPlayer player); /** - * See {@link MediaSessionCompat.Callback#onSkipToPrevious()). + * See {@link MediaSessionCompat.Callback#onSkipToPrevious()}. */ void onSkipToPrevious(ExoPlayer player); /** @@ -200,7 +200,7 @@ public final class MediaSessionConnector { */ void onRemoveQueueItem(ExoPlayer player, MediaDescriptionCompat description); /** - * See {@link MediaSessionCompat.Callback#onRemoveQueueItemAt(int index)). + * See {@link MediaSessionCompat.Callback#onRemoveQueueItemAt(int index)}. */ void onRemoveQueueItemAt(ExoPlayer player, int index); /** diff --git a/library/core/src/main/java/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.java b/library/core/src/main/java/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.java index c47a91b176..ccc5c0eb3e 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/extractor/DefaultExtractorsFactory.java @@ -117,7 +117,7 @@ public final class DefaultExtractorsFactory implements ExtractorsFactory { /** * Sets the mode for {@link TsExtractor} instances created by the factory. * - * @see TsExtractor#TsExtractor(int, TimestampAdjuster, TsPayloadReader.Factory). + * @see TsExtractor#TsExtractor(int, TimestampAdjuster, TsPayloadReader.Factory) * @param mode The mode to use. * @return The factory, for convenience. */ diff --git a/library/core/src/main/java/com/google/android/exoplayer2/source/DynamicConcatenatingMediaSource.java b/library/core/src/main/java/com/google/android/exoplayer2/source/DynamicConcatenatingMediaSource.java index 8ba6b46a47..ad2e154f6d 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/source/DynamicConcatenatingMediaSource.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/source/DynamicConcatenatingMediaSource.java @@ -82,7 +82,7 @@ public final class DynamicConcatenatingMediaSource implements MediaSource, ExoPl * Adds a {@link MediaSource} to the playlist. * * @param index The index at which the new {@link MediaSource} will be inserted. This index must - * be in the range of 0 <= index <= {@link #getSize()}. + * be in the range of 0 <= index <= {@link #getSize()}. * @param mediaSource The {@link MediaSource} to be added to the list. */ public synchronized void addMediaSource(int index, MediaSource mediaSource) { @@ -108,7 +108,7 @@ public final class DynamicConcatenatingMediaSource implements MediaSource, ExoPl * Adds multiple {@link MediaSource}s to the playlist. * * @param index The index at which the new {@link MediaSource}s will be inserted. This index must - * be in the range of 0 <= index <= {@link #getSize()}. + * be in the range of 0 <= index <= {@link #getSize()}. * @param mediaSources A collection of {@link MediaSource}s to be added to the list. The media * sources are added in the order in which they appear in this collection. */ @@ -128,7 +128,7 @@ public final class DynamicConcatenatingMediaSource implements MediaSource, ExoPl * Removes a {@link MediaSource} from the playlist. * * @param index The index at which the media source will be removed. This index must be in the - * range of 0 <= index < {@link #getSize()}. + * range of 0 <= index < {@link #getSize()}. */ public synchronized void removeMediaSource(int index) { mediaSourcesPublic.remove(index); @@ -141,9 +141,9 @@ public final class DynamicConcatenatingMediaSource implements MediaSource, ExoPl * Moves an existing {@link MediaSource} within the playlist. * * @param currentIndex The current index of the media source in the playlist. This index must be - * in the range of 0 <= index < {@link #getSize()}. + * in the range of 0 <= index < {@link #getSize()}. * @param newIndex The target index of the media source in the playlist. This index must be in the - * range of 0 <= index < {@link #getSize()}. + * range of 0 <= index < {@link #getSize()}. */ public synchronized void moveMediaSource(int currentIndex, int newIndex) { if (currentIndex == newIndex) { @@ -166,7 +166,7 @@ public final class DynamicConcatenatingMediaSource implements MediaSource, ExoPl /** * Returns the {@link MediaSource} at a specified index. * - * @param index A index in the range of 0 <= index <= {@link #getSize()}. + * @param index A index in the range of 0 <= index <= {@link #getSize()}. * @return The {@link MediaSource} at this index. */ public synchronized MediaSource getMediaSource(int index) { diff --git a/library/core/src/main/java/com/google/android/exoplayer2/util/Clock.java b/library/core/src/main/java/com/google/android/exoplayer2/util/Clock.java index 044d87d0a4..f8d5759c2c 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/util/Clock.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/util/Clock.java @@ -27,12 +27,12 @@ public interface Clock { Clock DEFAULT = new SystemClock(); /** - * @see android.os.SystemClock#elapsedRealtime(). + * @see android.os.SystemClock#elapsedRealtime() */ long elapsedRealtime(); /** - * @see android.os.SystemClock#sleep(long). + * @see android.os.SystemClock#sleep(long) */ void sleep(long sleepTimeMs);