changeset 8841:19ff80da8283

8028049: Tidy warnings cleanup for packages java.nio/java.io Reviewed-by: alanb, darcy Contributed-by: Sergey Lugovoy <sergey.lugovoy@oracle.com>
author yan
date Mon, 18 Nov 2013 17:00:23 +0400
parents 64a492bc0ba7
children d842131d12d8
files src/share/classes/java/io/EOFException.java src/share/classes/java/io/FilePermission.java src/share/classes/java/nio/channels/AsynchronousChannelGroup.java src/share/classes/java/nio/channels/AsynchronousFileChannel.java src/share/classes/java/nio/channels/FileChannel.java src/share/classes/java/nio/charset/Charset.java src/share/classes/java/nio/file/FileSystem.java src/share/classes/java/nio/file/Files.java src/share/classes/java/nio/package.html
diffstat 9 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/io/EOFException.java	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/io/EOFException.java	Mon Nov 18 17:00:23 2013 +0400
@@ -32,7 +32,6 @@
  * 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
--- a/src/share/classes/java/io/FilePermission.java	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/io/FilePermission.java	Mon Nov 18 17:00:23 2013 +0400
@@ -380,7 +380,7 @@
     /**
      * 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,
--- a/src/share/classes/java/nio/channels/AsynchronousChannelGroup.java	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/nio/channels/AsynchronousChannelGroup.java	Mon Nov 18 17:00:23 2013 +0400
@@ -66,7 +66,6 @@
  *     <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}
--- a/src/share/classes/java/nio/channels/AsynchronousFileChannel.java	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/nio/channels/AsynchronousFileChannel.java	Mon Nov 18 17:00:23 2013 +0400
@@ -178,7 +178,7 @@
      *   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
--- a/src/share/classes/java/nio/channels/FileChannel.java	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/nio/channels/FileChannel.java	Mon Nov 18 17:00:23 2013 +0400
@@ -229,7 +229,7 @@
      *   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
--- a/src/share/classes/java/nio/charset/Charset.java	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/nio/charset/Charset.java	Mon Nov 18 17:00:23 2013 +0400
@@ -118,10 +118,10 @@
  * {@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
--- a/src/share/classes/java/nio/file/FileSystem.java	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/nio/file/FileSystem.java	Mon Nov 18 17:00:23 2013 +0400
@@ -325,7 +325,6 @@
      *   <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>
--- a/src/share/classes/java/nio/file/Files.java	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/nio/file/Files.java	Mon Nov 18 17:00:23 2013 +0400
@@ -284,7 +284,7 @@
      *   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
--- a/src/share/classes/java/nio/package.html	Thu Nov 14 12:35:34 2013 +0100
+++ b/src/share/classes/java/nio/package.html	Mon Nov 18 17:00:23 2013 +0400
@@ -62,7 +62,7 @@
 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 @@
   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>