changeset 10794:eaa52ce531c3

8059840: (bb) Typo in javadoc for ByteBuffer.wrap() Reviewed-by: dfuchs
author igerasim
date Tue, 07 Oct 2014 14:00:24 +0400
parents e31f880cd705
children 815285eaa2f2
files src/java.base/share/classes/java/nio/X-Buffer.java.template src/java.base/share/classes/java/nio/file/FileStore.java src/java.base/share/classes/java/nio/file/Files.java src/java.base/share/classes/java/nio/file/SecureDirectoryStream.java src/java.base/share/classes/java/nio/file/TempFileHelper.java src/java.base/share/classes/java/nio/file/attribute/package-info.java
diffstat 6 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/nio/X-Buffer.java.template	Mon Oct 06 12:56:54 2014 -0400
+++ b/src/java.base/share/classes/java/nio/X-Buffer.java.template	Tue Oct 07 14:00:24 2014 +0400
@@ -384,7 +384,7 @@
      * and vice versa.  The new buffer's capacity and limit will be
      * <tt>array.length</tt>, its position will be zero, and its mark will be
      * undefined.  Its {@link #array backing array} will be the
-     * given array, and its {@link #arrayOffset array offset>} will
+     * given array, and its {@link #arrayOffset array offset} will
      * be zero.  </p>
      *
      * @param  array
--- a/src/java.base/share/classes/java/nio/file/FileStore.java	Mon Oct 06 12:56:54 2014 -0400
+++ b/src/java.base/share/classes/java/nio/file/FileStore.java	Tue Oct 07 14:00:24 2014 +0400
@@ -208,7 +208,7 @@
      * @param   attribute
      *          the attribute to read
 
-     * @return  the attribute value; {@code null} may be a valid valid for some
+     * @return  the attribute value; {@code null} may be a valid for some
      *          attributes
      *
      * @throws  UnsupportedOperationException
--- a/src/java.base/share/classes/java/nio/file/Files.java	Mon Oct 06 12:56:54 2014 -0400
+++ b/src/java.base/share/classes/java/nio/file/Files.java	Tue Oct 07 14:00:24 2014 +0400
@@ -1480,7 +1480,7 @@
      * <li>It is <i>transitive</i>: for three {@code Paths}
      *     {@code f}, {@code g}, and {@code h}, if {@code isSameFile(f,g)} returns
      *     {@code true} and {@code isSameFile(g,h)} returns {@code true}, then
-     *     {@code isSameFile(f,h)} will return return {@code true}.
+     *     {@code isSameFile(f,h)} will return {@code true}.
      * </ul>
      *
      * @param   path
@@ -2818,7 +2818,7 @@
     /**
      * Opens or creates a file for writing, returning a {@code BufferedWriter}
      * that may be used to write text to the file in an efficient manner.
-     * The {@code options} parameter specifies how the the file is created or
+     * The {@code options} parameter specifies how the file is created or
      * opened. If no options are present then this method works as if the {@link
      * StandardOpenOption#CREATE CREATE}, {@link
      * StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING}, and {@link
@@ -3307,7 +3307,7 @@
      * line.separator}. Characters are encoded into bytes using the specified
      * charset.
      *
-     * <p> The {@code options} parameter specifies how the the file is created
+     * <p> The {@code options} parameter specifies how the file is created
      * or opened. If no options are present then this method works as if the
      * {@link StandardOpenOption#CREATE CREATE}, {@link
      * StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING}, and {@link
--- a/src/java.base/share/classes/java/nio/file/SecureDirectoryStream.java	Mon Oct 06 12:56:54 2014 -0400
+++ b/src/java.base/share/classes/java/nio/file/SecureDirectoryStream.java	Tue Oct 07 14:00:24 2014 +0400
@@ -115,7 +115,7 @@
      * channel.
      *
      * @param   path
-     *          the path of the file to open open or create
+     *          the path of the file to open or create
      * @param   options
      *          options specifying how the file is opened
      * @param   attrs
--- a/src/java.base/share/classes/java/nio/file/TempFileHelper.java	Mon Oct 06 12:56:54 2014 -0400
+++ b/src/java.base/share/classes/java/nio/file/TempFileHelper.java	Tue Oct 07 14:00:24 2014 +0400
@@ -74,7 +74,7 @@
     }
 
     /**
-     * Creates a file or directory in in the given given directory (or in the
+     * Creates a file or directory in the given directory (or in the
      * temporary directory if dir is {@code null}).
      */
     private static Path create(Path dir,
@@ -149,7 +149,7 @@
     }
 
     /**
-     * Creates a temporary file in the given directory, or in in the
+     * Creates a temporary file in the given directory, or in the
      * temporary directory if dir is {@code null}.
      */
     static Path createTempFile(Path dir,
@@ -162,7 +162,7 @@
     }
 
     /**
-     * Creates a temporary directory in the given directory, or in in the
+     * Creates a temporary directory in the given directory, or in the
      * temporary directory if dir is {@code null}.
      */
     static Path createTempDirectory(Path dir,
--- a/src/java.base/share/classes/java/nio/file/attribute/package-info.java	Mon Oct 06 12:56:54 2014 -0400
+++ b/src/java.base/share/classes/java/nio/file/attribute/package-info.java	Tue Oct 07 14:00:24 2014 +0400
@@ -51,7 +51,7 @@
  * <p> An attribute view provides a read-only or updatable view of the non-opaque
  * values, or <em>metadata</em>, associated with objects in a file system.
  * The {@link java.nio.file.attribute.FileAttributeView} interface is
- * extended by several other interfaces that that views to specific sets of file
+ * extended by several other interfaces that views to specific sets of file
  * attributes. {@code FileAttributeViews} are selected by invoking the {@link
  * java.nio.file.Files#getFileAttributeView} method with a
  * <em>type-token</em> to identify the required view. Views can also be identified