Skip to content

Commit

Permalink
Fix mvn javadoc:javadoc with Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Oct 1, 2021
1 parent a1ce7dd commit 6da1274
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/servlet/jsp/JspWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected JspWriter(int bufferSize, boolean autoFlush) {
}

/**
* Write a line separator. The line separator string is defined by the system property <tt>line.separator</tt>, and
* Write a line separator. The line separator string is defined by the system property {@code line.separator}, and
* is not necessarily a single newline ('\n') character.
*
* @exception IOException If an I/O error occurs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ protected JspFragment getJspBody() {
*
* <p>
* For every instance of TagAdapter encountered while traversing the ancestors, the tag handler returned by
* <tt>TagAdapter.getAdaptee()</tt> - instead of the TagAdpater itself - is compared to <tt>klass</tt>. If the tag
* {@link TagAdapter#getAdaptee()} - instead of the TagAdpater itself - is compared to {@code klass}. If the tag
* handler matches, it - and not its TagAdapter - is returned.
*
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* getVariableInfo().
*
* <p>
* <tt>NOTE:</tt> It is a (translation time) error for a tag definition in a TLD with one or more variable subelements
* <b>NOTE:</b> It is a (translation time) error for a tag definition in a TLD with one or more variable subelements
* to have an associated TagExtraInfo implementation that returns a VariableInfo array with one or more elements from a
* call to getVariableInfo().
*/
Expand Down
56 changes: 28 additions & 28 deletions api/src/main/java/jakarta/servlet/jsp/tagext/VariableInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,74 +85,74 @@
* respective method has been called.
*
* <blockquote>
* <table cellpadding="2" cellspacing="2" border="0" width="55%" style="background-color:#999999" summary="Variable
* Synchronization Points">
* <tr align="center">
* <table style="background-color:#999999">
* <caption>Variable Synchronization Points</caption>
* <tr>
* <td valign="top" colspan="6" style="background-color:#999999"><u><b>Variable Synchronization Points</b></u><br>
* </td>
* </tr>
* <tr>
* <th valign="top" style="background-color:#c0c0c0">&nbsp;</th>
* <th valign="top" style="background-color:#c0c0c0" align="center">doStartTag()</th>
* <th valign="top" style="background-color:#c0c0c0" align="center">doInitBody()</th>
* <th valign="top" style="background-color:#c0c0c0" align="center">doAfterBody()</th>
* <th valign="top" style="background-color:#c0c0c0" align="center">doEndTag()</th>
* <th valign="top" style="background-color:#c0c0c0" align="center">doTag()</th>
* <th valign="top" style="background-color:#c0c0c0">doStartTag()</th>
* <th valign="top" style="background-color:#c0c0c0">doInitBody()</th>
* <th valign="top" style="background-color:#c0c0c0">doAfterBody()</th>
* <th valign="top" style="background-color:#c0c0c0">doEndTag()</th>
* <th valign="top" style="background-color:#c0c0c0">doTag()</th>
* </tr>
* <tr>
* <td valign="top" style="background-color:#c0c0c0"><b>Tag<br>
* </b></td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, NESTED<br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, NESTED<br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, AT_END<br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, AT_END<br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* </tr>
* <tr>
* <td valign="top" style="background-color:#c0c0c0"><b>IterationTag<br>
* </b></td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, NESTED<br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, NESTED<br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, NESTED<br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, NESTED<br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, AT_END<br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, AT_END<br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* </tr>
* <tr>
* <td valign="top" style="background-color:#c0c0c0"><b>BodyTag<br>
* </b></td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, NESTED<sup>1</sup><br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, NESTED<sup>1</sup><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, NESTED<sup>1</sup><br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, NESTED<sup>1</sup><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, NESTED<br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, NESTED<br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, AT_END<br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, AT_END<br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* </tr>
* <tr>
* <td valign="top" style="background-color:#c0c0c0"><b>SimpleTag<br>
* </b></td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff"><br>
* <td valign="top" style="background-color:#ffffff"><br>
* </td>
* <td valign="top" align="center" style="background-color:#ffffff">AT_BEGIN, AT_END<br>
* <td valign="top" style="background-color:#ffffff">AT_BEGIN, AT_END<br>
* </td>
* </tr>
* </table>
Expand Down
22 changes: 11 additions & 11 deletions api/src/main/javadoc/jakarta/servlet/jsp/tagext/package.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<li><a href="#translation">Translation-time Classes</a></li>
</ol>

<h2><a name="classic">1. Classic Tag Handlers</a></h2>
<h2><a id="classic">1. Classic Tag Handlers</a></h2>
This section introduces the notion of a tag handler and describes the
classic types of tag handler.

Expand Down Expand Up @@ -219,7 +219,7 @@ <h3>Empty and Non-Empty Actions</h3>
<p>
A non-empty action has a body.

<h3><a name="tag_interface">The Tag Interface</a></h3>
<h3><a>The Tag Interface</a></h3>

<p> A Tag handler that does not want to process its body can implement
just the Tag interface. A tag handler may not want to process its
Expand All @@ -242,7 +242,7 @@ <h3><a name="tag_interface">The Tag Interface</a></h3>
body of a tag, its doEndTag method will not be evaluated. See the
TryCatchFinally tag for methods that are guaranteed to be evaluated.

<h3><a name="iterationtag_interface">The IterationTag Interface</a></h3>
<h3><a>The IterationTag Interface</a></h3>


<p> The IterationTag interface is used to repeatedly reevaluate
Expand All @@ -268,7 +268,7 @@ <h3>The TagSupport Base Class</h3>
implementing the Tag or IterationTag interfaces.


<h2><a name="bodycontent">2. Tag Handlers that want Access to their Body
<h2><a id="bodycontent">2. Tag Handlers that want Access to their Body
Content</a></h2>

<p>The evaluation of a body is delivered into a <code>BodyContent</code>
Expand Down Expand Up @@ -311,7 +311,7 @@ <h2><a name="bodycontent">2. Tag Handlers that want Access to their Body
from the PageContext object passed to the handler in setPageContext).


<h2><a name="dynamic">3. Dynamic Attributes</a></h2>
<h2><a id="dynamic">3. Dynamic Attributes</a></h2>

<p>Any tag handler can optionally extend the <code>DynamicAttributes</code>
interface to indicate that it supports dynamic attributes. In addition
Expand Down Expand Up @@ -391,7 +391,7 @@ <h2><a name="dynamic">3. Dynamic Attributes</a></h2>
&lt;/jsp:root&gt;
</pre>

<h2><a name="thmgmt">4. Annotated Tag Handler Management Example</a></h2>
<h2><a id="thmgmt">4. Annotated Tag Handler Management Example</a></h2>

Below is a somewhat complete example of the way one JSP container
could choose to do some tag handler management. There are many
Expand Down Expand Up @@ -552,7 +552,7 @@ <h2><a name="thmgmt">4. Annotated Tag Handler Management Example</a></h2>
}
</pre>

<h2><a name="coop">5. Cooperating Actions</a></h2>
<h2><a id="coop">5. Cooperating Actions</a></h2>

Actions can cooperate with other actions and with scripting code
in a number of ways.
Expand Down Expand Up @@ -621,7 +621,7 @@ <h3>The Runtime Stack</h3>
which uses a reference to parent tag kept by each Tag instance,
which effectively provides a run-time execution stack.

<h2><a name="simple">6. Simple Tag Handlers</a></h2>
<h2><a id="simple">6. Simple Tag Handlers</a></h2>

<p> This section presents the API to implement Simple Tag Handlers.
Simple Tag Handlers present a much simpler invocation
Expand Down Expand Up @@ -756,7 +756,7 @@ <h3>Lifecycle of Simple Tag Handlers</h3>
classic tag handlers.</li>
</ol>

<h2><a name="fragment">7. JSP Fragments</a></h2>
<h2><a id="fragment">7. JSP Fragments</a></h2>

<p>JSP Fragments are represented in Java by an instance of the
<code>jakarta.servlet.jsp.tagext.JspFragment abstract class</code>.
Expand Down Expand Up @@ -913,7 +913,7 @@ <h3>Invocation of a JSP Fragment</h3>

</ol>

<h2><a name="sths">8. Example Simple Tag Handler Scenario</a></h2>
<h2><a id="sths">8. Example Simple Tag Handler Scenario</a></h2>

<p>The following non-normative example is intended to help solidify
some of the concepts relating to Tag Files, JSP Fragments and Simple
Expand Down Expand Up @@ -1266,7 +1266,7 @@ <h4>Generated Simple Tag Handler (MySimpleTag.java)</h4>

</pre>

<h2><a name="translation">9. Translation-time Classes</a></h2>
<h2><a id="translation">9. Translation-time Classes</a></h2>

The following classes are used at translation time.

Expand Down

0 comments on commit 6da1274

Please sign in to comment.