Fix javadoc consistency

#exofixit

PiperOrigin-RevId: 396304941
This commit is contained in:
andrewlewis 2021-09-13 09:51:13 +01:00 committed by Christos Tsilopoulos
parent d74be1780d
commit 71a4b6337c
9 changed files with 14 additions and 14 deletions

View File

@ -135,7 +135,7 @@ public final class BundleableUtils {
} }
/** /**
* Set the application class loader to the given {@link Bundle} if no class loader is present. * Sets the application class loader to the given {@link Bundle} if no class loader is present.
* *
* <p>This assumes that all classes unparceled from {@code bundle} are sharing the class loader of * <p>This assumes that all classes unparceled from {@code bundle} are sharing the class loader of
* {@code BundleableUtils}. * {@code BundleableUtils}.

View File

@ -1417,7 +1417,7 @@ public final class Util {
} }
/** /**
* Return the long that is composed of the bits of the 2 specified integers. * Returns the long that is composed of the bits of the 2 specified integers.
* *
* @param mostSignificantBits The 32 most significant bits of the long to return. * @param mostSignificantBits The 32 most significant bits of the long to return.
* @param leastSignificantBits The 32 least significant bits of the long to return. * @param leastSignificantBits The 32 least significant bits of the long to return.

View File

@ -482,7 +482,7 @@ public interface ExoPlayer extends Player {
} }
/** /**
* Set a limit on the time a call to {@link #setForegroundMode} can spend. If a call to {@link * Sets a limit on the time a call to {@link #setForegroundMode} can spend. If a call to {@link
* #setForegroundMode} takes more than {@code timeoutMs} milliseconds to complete, the player * #setForegroundMode} takes more than {@code timeoutMs} milliseconds to complete, the player
* will raise an error via {@link Player.Listener#onPlayerError}. * will raise an error via {@link Player.Listener#onPlayerError}.
* *

View File

@ -253,7 +253,7 @@ import java.util.concurrent.CopyOnWriteArraySet;
} }
/** /**
* Set a limit on the time a call to {@link #setForegroundMode} can spend. If a call to {@link * Sets a limit on the time a call to {@link #setForegroundMode} can spend. If a call to {@link
* #setForegroundMode} takes more than {@code timeoutMs} milliseconds to complete, the player will * #setForegroundMode} takes more than {@code timeoutMs} milliseconds to complete, the player will
* raise an error via {@link Player.Listener#onPlayerError}. * raise an error via {@link Player.Listener#onPlayerError}.
* *

View File

@ -416,7 +416,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
} }
/** /**
* Set a limit on the time a single {@link #render(long, long)} call can spend draining and * Sets a limit on the time a single {@link #render(long, long)} call can spend draining and
* filling the decoder. * filling the decoder.
* *
* <p>This method should be called right after creating an instance of this class. * <p>This method should be called right after creating an instance of this class.

View File

@ -555,7 +555,7 @@ public class PlayerView extends FrameLayout implements AdViewProvider {
} }
/** /**
* Set the {@link Player} to use. * Sets the {@link Player} to use.
* *
* <p>To transition a {@link Player} from targeting one view to another, it's recommended to use * <p>To transition a {@link Player} from targeting one view to another, it's recommended to use
* {@link #switchTargetView(Player, PlayerView, PlayerView)} rather than this method. If you do * {@link #switchTargetView(Player, PlayerView, PlayerView)} rather than this method. If you do
@ -912,7 +912,7 @@ public class PlayerView extends FrameLayout implements AdViewProvider {
} }
/** /**
* Set the {@link PlayerControlView.VisibilityListener}. * Sets the {@link PlayerControlView.VisibilityListener}.
* *
* @param listener The listener to be notified about visibility changes, or null to remove the * @param listener The listener to be notified about visibility changes, or null to remove the
* current listener. * current listener.
@ -1030,7 +1030,7 @@ public class PlayerView extends FrameLayout implements AdViewProvider {
} }
/** /**
* Set the {@link AspectRatioFrameLayout.AspectRatioListener}. * Sets the {@link AspectRatioFrameLayout.AspectRatioListener}.
* *
* @param listener The listener to be notified about aspect ratios changes of the video content or * @param listener The listener to be notified about aspect ratios changes of the video content or
* the content frame. * the content frame.

View File

@ -562,7 +562,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider {
} }
/** /**
* Set the {@link Player} to use. * Sets the {@link Player} to use.
* *
* <p>To transition a {@link Player} from targeting one view to another, it's recommended to use * <p>To transition a {@link Player} from targeting one view to another, it's recommended to use
* {@link #switchTargetView(Player, StyledPlayerView, StyledPlayerView)} rather than this method. * {@link #switchTargetView(Player, StyledPlayerView, StyledPlayerView)} rather than this method.
@ -917,7 +917,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider {
} }
/** /**
* Set the {@link StyledPlayerControlView.VisibilityListener}. * Sets the {@link StyledPlayerControlView.VisibilityListener}.
* *
* @param listener The listener to be notified about visibility changes, or null to remove the * @param listener The listener to be notified about visibility changes, or null to remove the
* current listener. * current listener.
@ -1067,7 +1067,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider {
} }
/** /**
* Set the {@link AspectRatioFrameLayout.AspectRatioListener}. * Sets the {@link AspectRatioFrameLayout.AspectRatioListener}.
* *
* @param listener The listener to be notified about aspect ratios changes of the video content or * @param listener The listener to be notified about aspect ratios changes of the video content or
* the content frame. * the content frame.

View File

@ -163,7 +163,7 @@ public final class SubtitleView extends FrameLayout implements Player.Listener {
} }
/** /**
* Set the type of {@link View} used to display subtitles. * Sets the type of {@link View} used to display subtitles.
* *
* <p>NOTE: {@link #VIEW_TYPE_WEB} is currently very experimental, and doesn't support most * <p>NOTE: {@link #VIEW_TYPE_WEB} is currently very experimental, and doesn't support most
* styling and layout properties of {@link Cue}. * styling and layout properties of {@link Cue}.
@ -198,7 +198,7 @@ public final class SubtitleView extends FrameLayout implements Player.Listener {
} }
/** /**
* Set the text size to a given unit and value. * Sets the text size to a given unit and value.
* *
* <p>See {@link TypedValue} for the possible dimension units. * <p>See {@link TypedValue} for the possible dimension units.
* *

View File

@ -48,7 +48,7 @@ public final class AdditionalFailureInfo implements TestRule {
} }
/** /**
* Set the additional info to be added to any test failures. Pass {@code null} to skip adding any * Sets the additional info to be added to any test failures. Pass {@code null} to skip adding any
* additional info. * additional info.
* *
* <p>Can be called from any thread. * <p>Can be called from any thread.