Commit 873e83c5 by andrewlewis Committed by bachinger

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
parent 3f9093cc
...@@ -134,8 +134,8 @@ public final class WebvttCssStyle { ...@@ -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 { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment