changeset 19262:4469866cb958

Fix typos in javadoc
author alanb
date Mon, 13 Mar 2017 20:31:34 +0000
parents b4a723e44f24
children 9ec221c41fb7
files src/java.base/share/classes/java/lang/module/Configuration.java src/java.base/share/classes/java/lang/module/ModuleReader.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/module/Configuration.java	Mon Mar 13 13:45:17 2017 +0000
+++ b/src/java.base/share/classes/java/lang/module/Configuration.java	Mon Mar 13 20:31:34 2017 +0000
@@ -297,8 +297,8 @@
      *     module {@code m2} and {@code m2} requires {@code m1}. </p></li>
      *
      *     <li><p> A module reads two or more modules with the same name. This
-     *     includes the case where a module reads another another with the same
-     *     name as itself. </p></li>
+     *     includes the case where a module reads another with the same name as
+     *     itself. </p></li>
      *
      *     <li><p> Two or more modules in the configuration export the same
      *     package to a module that reads both. This includes the case where a
--- a/src/java.base/share/classes/java/lang/module/ModuleReader.java	Mon Mar 13 13:45:17 2017 +0000
+++ b/src/java.base/share/classes/java/lang/module/ModuleReader.java	Mon Mar 13 20:31:34 2017 +0000
@@ -85,7 +85,7 @@
      * Finds a resource, returning a URI to the resource in the module.
      *
      * <p> If the module reader can determine that the name locates a directory
-     * then the resulting URI will end with slash ('/'). </p>
+     * then the resulting URI will end with a slash ('/'). </p>
      *
      * @param  name
      *         The name of the resource to open for reading
@@ -147,7 +147,7 @@
      *
      * @apiNote This method is intended for high-performance class loading. It
      * is not capable (or intended) to read arbitrary large resources that
-     * could potentially be 2GB or larger. The rational for using this method
+     * could potentially be 2GB or larger. The rationale for using this method
      * in conjunction with the {@code release} method is to allow module reader
      * implementations manage buffers in an efficient manner.
      *