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
This commit is contained in:
andrewlewis 2021-07-26 16:11:03 +01:00 committed by bachinger
parent 3f9093cc02
commit 873e83c575

View File

@ -134,8 +134,8 @@ public final class WebvttCssStyle {
/** /**
* Returns a value in a score system compliant with the CSS Specificity rules. * Returns a value in a score system compliant with the CSS Specificity rules.
* *
* @see <a href="https://www.w3.org/TR/CSS2/cascade.html">CSS Cascading</a>
* <p>The score works as follows: * <p>The score works as follows:
*
* <ul> * <ul>
* <li>Id match adds 0x40000000 to the score. * <li>Id match adds 0x40000000 to the score.
* <li>Each class and voice match adds 4 to the score. * <li>Each class and voice match adds 4 to the score.
@ -148,6 +148,7 @@ public final class WebvttCssStyle {
* @param classes An array containing the classes the tag belongs to. Must not be null. * @param classes An array containing the classes the tag belongs to. Must not be null.
* @param voice Annotated voice if present, {@code null} otherwise. * @param voice Annotated voice if present, {@code null} otherwise.
* @return The score of the match, zero if there is no match. * @return The score of the match, zero if there is no match.
* @see <a href="https://www.w3.org/TR/CSS2/cascade.html">CSS Cascading</a>
*/ */
public int getSpecificityScore( public int getSpecificityScore(
@Nullable String id, @Nullable String tag, Set<String> classes, @Nullable String voice) { @Nullable String id, @Nullable String tag, Set<String> classes, @Nullable String voice) {