fix javadoc errors reported by java 9
MODIFY
src/main/java/org/apache/commons/io/comparator/package.html
src/main/java/org/apache/commons/io/comparator/package.html
@@ -35,11 +35,9 @@ <h3>Sorting</h3>
<p>
...alternatively you can do this in one line:
</p>
-<p>
<pre>
File[] files = NameFileComparator.NAME_COMPARATOR.sort(dir.listFiles());
</pre>
-</p>
<h3>Composite Comparator</h3>
<p>
@@ -50,7 +48,6 @@ <h3>Composite Comparator</h3>
For example, to sort an array of files by type (i.e. directory or file)
and then by name:
</p>
-<p>
<pre>
CompositeFileComparator comparator =
new CompositeFileComparator(
@@ -59,12 +56,12 @@ <h3>Composite Comparator</h3>
File[] files = dir.listFiles();
comparator.sort(files);
</pre>
-</p>
<h3>Singleton Instances (thread-safe)</h3>
<p>
The {@link java.util.Comparator} implementations have some <i>convenience</i>
singleton(<i>thread-safe</i>) instances ready to use:
+</p>
<ul>
<li><a href="DefaultFileComparator.html">DefaultFileComparator</a> - default file compare:
<ul>
@@ -79,10 +76,10 @@ <h3>Singleton Instances (thread-safe)</h3>
<li><a href="DirectoryFileComparator.html">DirectoryFileComparator</a> - compare by type (directory or file):
<ul>
<li><a href="DirectoryFileComparator.html#DIRECTORY_COMPARATOR">DIRECTORY_COMPARATOR</a>
- - Compare using <code>File.isDirectory()</code> method (directories < files).
+ - Compare using <code>File.isDirectory()</code> method (directories &lt; files).
</li>
<li><a href="DirectoryFileComparator.html#DIRECTORY_REVERSE">DIRECTORY_REVERSE</a>
- - Reverse compare of <code>File.isDirectory()</code> method (directories > files).
+ - Reverse compare of <code>File.isDirectory()</code> method (directories &gt;files).
</li>
</ul>
</li>
@@ -182,7 +179,6 @@ <h3>Singleton Instances (thread-safe)</h3>
</ul>
</li>
</ul>
-</p>
</body>
</html>

MODIFY
src/main/java/org/apache/commons/io/filefilter/package.html
src/main/java/org/apache/commons/io/filefilter/package.html
other such filters.</p>
<p>These filter can be used to list files or in {@link java.awt.FileDialog},
for example.</p>
-
-<p>There are a number of 'primitive' filters:</p>
-
<table>
+ <caption>There are a number of 'primitive' filters:</caption>
<tbody>
<tr>
<td><a href="DirectoryFileFilter.html">DirectoryFilter</a></td>
</tr>
</tbody>
</table>
-
-<p>And there are five 'boolean' filters:</p>
-
<table>
+ <caption>And there are five 'boolean' filters:</caption>
<tbody>
<tr>
<td><a href="TrueFileFilter.html">TrueFileFilter</a></td>

MODIFY
src/main/java/org/apache/commons/io/input/ReaderInputStream.java
src/main/java/org/apache/commons/io/input/ReaderInputStream.java
* in the design of the code. This class is typically used in situations where an existing
* API only accepts an {@link InputStream}, but where the most natural way to produce the data
* is as a character stream, i.e. by providing a {@link Reader} instance. An example of a situation
- * where this problem may appear is when implementing the {@link javax.activation.DataSource}
+ * where this problem may appear is when implementing the {@code javax.activation.DataSource}
* interface from the Java Activation Framework.
* <p>
* Given the fact that the {@link Reader} class doesn't provide any way to predict whether the next

fix javadoc errors reported by java 9