Fix javadoc errors reported by Java 11.

This commit is contained in:
pascalschumacher 2018-05-28 10:55:30 +02:00
parent b933f55e58
commit 6850d88880
4 changed files with 13 additions and 11 deletions

View File

@ -429,8 +429,8 @@ public class ClassUtils {
* If enough space is available, rightmost sub-packages will be displayed in full
* length.</p>
*
* <p>The following table illustrates the algorithm:</p>
* <table summary="abbreviation examples">
* <table>
* <caption>Examples</caption>
* <tr><td>className</td><td>len</td><td>return</td></tr>
* <tr><td> null</td><td> 1</td><td>""</td></tr>
* <tr><td>"java.lang.String"</td><td> 5</td><td>"j.l.String"</td></tr>

View File

@ -58,11 +58,9 @@ import org.apache.commons.lang3.StringUtils;
* " a, b , c " - Three tokens "a","b","c" (default CSV processing trims whitespace)
* "a, ", b ,", c" - Three tokens "a, " , " b ", ", c" (quoted text untouched)
* </pre>
* <p>
*
* This tokenizer has the following properties and options:
*
* <table summary="Tokenizer Properties">
* <table>
* <caption>StrTokenizer properties and options</caption>
* <tr>
* <th>Property</th><th>Type</th><th>Default</th>
* </tr>

View File

@ -60,7 +60,8 @@ public class WordUtils {
* <p>Leading spaces on a new line are stripped.
* Trailing spaces are not stripped.</p>
*
* <table border="1" summary="Wrap Results">
* <table border="1">
* <caption>Examples</caption>
* <tr>
* <th>input</th>
* <th>wrapLength</th>
@ -109,7 +110,8 @@ public class WordUtils {
* <p>Leading spaces on a new line are stripped.
* Trailing spaces are not stripped.</p>
*
* <table border="1" summary="Wrap Results">
* <table border="1">
* <caption>Examples</caption>
* <tr>
* <th>input</th>
* <th>wrapLength</th>
@ -185,7 +187,8 @@ public class WordUtils {
* <p>Leading spaces on a new line are stripped.
* Trailing spaces are not stripped.</p>
*
* <table border="1" summary="Wrap Results">
* <table border="1">
* <caption>Examples</caption>
* <tr>
* <th>input</th>
* <th>wrapLength</th>

View File

@ -28,7 +28,8 @@ import org.apache.commons.lang3.Validate;
/**
* <p>Duration formatting utilities and constants. The following table describes the tokens
* used in the pattern language for formatting.</p>
* <table border="1" summary="Pattern Tokens">
* <table border="1">
* <caption>Pattern Tokens</caption>
* <tr><th>character</th><th>duration element</th></tr>
* <tr><td>y</td><td>years</td></tr>
* <tr><td>M</td><td>months</td></tr>