From 873e83c5750bdb965c171915b720808b0a55cdc7 Mon Sep 17 00:00:00 2001 From: andrewlewis Date: Mon, 26 Jul 2021 16:11:03 +0100 Subject: [PATCH] Fix `@see` javadoc syntax Doclava outputs an error when handling the javadoc where the `@see` clause is an anchor but also has other content. PiperOrigin-RevId: 386875722 --- .../exoplayer2/text/webvtt/WebvttCssStyle.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.java b/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.java index 9296197e51..5b0b572aba 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.java @@ -134,20 +134,21 @@ public final class WebvttCssStyle { /** * Returns a value in a score system compliant with the CSS Specificity rules. * - * @see CSS Cascading - *

The score works as follows: - *

+ *

The score works as follows: + * + *

* * @param id The id of the cue if present, {@code null} otherwise. * @param tag Name of the tag, {@code null} if it refers to the entire cue. * @param classes An array containing the classes the tag belongs to. Must not be null. * @param voice Annotated voice if present, {@code null} otherwise. * @return The score of the match, zero if there is no match. + * @see CSS Cascading */ public int getSpecificityScore( @Nullable String id, @Nullable String tag, Set classes, @Nullable String voice) {