8028049: Tidy warnings cleanup for packages java.nio/java.io
Reviewed-by: alanb, darcy
This commit is contained in:
parent
c5cf3786f7
commit
097efbb0e2
@ -32,7 +32,6 @@ package java.io;
|
||||
* This exception is mainly used by data input streams to signal end of
|
||||
* stream. Note that many other input operations return a special value on
|
||||
* end of stream rather than throwing an exception.
|
||||
* <p>
|
||||
*
|
||||
* @author Frank Yellin
|
||||
* @see java.io.DataInputStream
|
||||
|
@ -380,7 +380,7 @@ public final class FilePermission extends Permission implements Serializable {
|
||||
/**
|
||||
* Checks two FilePermission objects for equality. Checks that <i>obj</i> is
|
||||
* a FilePermission, and has the same pathname and actions as this object.
|
||||
* <P>
|
||||
*
|
||||
* @param obj the object we are testing for equality with this object.
|
||||
* @return <code>true</code> if obj is a FilePermission, and has the same
|
||||
* pathname and actions as this FilePermission object,
|
||||
|
@ -66,7 +66,6 @@ import java.util.concurrent.TimeUnit;
|
||||
* <th>Description</th>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <tr>
|
||||
* <td> {@code java.nio.channels.DefaultThreadPool.threadFactory} </td>
|
||||
* <td> The value of this property is taken to be the fully-qualified name
|
||||
* of a concrete {@link java.util.concurrent.ThreadFactory ThreadFactory}
|
||||
|
@ -178,7 +178,7 @@ public abstract class AsynchronousFileChannel
|
||||
* written synchronously to the underlying storage device. (see <a
|
||||
* href="../file/package-summary.html#integrity"> Synchronized I/O file
|
||||
* integrity</a>). </td>
|
||||
* <tr>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td> {@link StandardOpenOption#DSYNC DSYNC} </td>
|
||||
* <td> Requires that every update to the file's content be written
|
||||
|
@ -229,7 +229,7 @@ public abstract class FileChannel
|
||||
* written synchronously to the underlying storage device. (see <a
|
||||
* href="../file/package-summary.html#integrity"> Synchronized I/O file
|
||||
* integrity</a>). </td>
|
||||
* <tr>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td> {@link StandardOpenOption#DSYNC DSYNC} </td>
|
||||
* <td> Requires that every update to the file's content be written
|
||||
|
@ -118,10 +118,10 @@ import sun.security.action.GetPropertyAction;
|
||||
* {@link java.io.InputStreamReader#getEncoding InputStreamReader} and {@link
|
||||
* java.io.OutputStreamWriter#getEncoding OutputStreamWriter} classes.
|
||||
*
|
||||
* <p><a name="iana">If a charset listed in the <a
|
||||
* <p><a name="iana"> </a>If a charset listed in the <a
|
||||
* href="http://www.iana.org/assignments/character-sets"><i>IANA Charset
|
||||
* Registry</i></a> is supported by an implementation of the Java platform then
|
||||
* its canonical name must be the name listed in the registry.</a> Many charsets
|
||||
* its canonical name must be the name listed in the registry. Many charsets
|
||||
* are given more than one name in the registry, in which case the registry
|
||||
* identifies one of the names as <i>MIME-preferred</i>. If a charset has more
|
||||
* than one registry name then its canonical name must be the MIME-preferred
|
||||
|
@ -325,7 +325,6 @@ public abstract class FileSystem
|
||||
* <td>Matches file names containing a dot</td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <tr>
|
||||
* <td>{@code *.{java,class}}</td>
|
||||
* <td>Matches file names ending with {@code .java} or {@code .class}</td>
|
||||
* </tr>
|
||||
|
@ -284,7 +284,7 @@ public final class Files {
|
||||
* written synchronously to the underlying storage device. (see <a
|
||||
* href="package-summary.html#integrity"> Synchronized I/O file
|
||||
* integrity</a>). </td>
|
||||
* <tr>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td> {@link StandardOpenOption#DSYNC DSYNC} </td>
|
||||
* <td> Requires that every update to the file's content be written
|
||||
|
@ -62,7 +62,7 @@ the platform's default implementations or to construct alternative
|
||||
implementations.
|
||||
|
||||
|
||||
<a name="buffers">
|
||||
<a name="buffers"> </a>
|
||||
|
||||
<blockquote><table cellspacing=1 cellpadding=0 summary="Description of the various buffers">
|
||||
<tr><th><p align="left">Buffers</p></th><th><p align="left">Description</p></th></tr>
|
||||
@ -115,7 +115,7 @@ other buffer classes:
|
||||
best effort to perform native I/O operations directly upon it. </p></li>
|
||||
|
||||
<li><p> A byte buffer can be created by {@link
|
||||
java.nio.channels.FileChannel#map </code><i>mapping</i><code>} a region of a
|
||||
java.nio.channels.FileChannel#map <i>mapping</i>} a region of a
|
||||
file directly into memory, in which case a few additional file-related
|
||||
operations defined in the {@link java.nio.MappedByteBuffer} class are
|
||||
available. </p></li>
|
||||
|
Loading…
Reference in New Issue
Block a user