jdk/src/java.base/share/classes/java/lang/String.java
changeset 45121 5bf18ccab99e
parent 44846 b3f9f5bf40b2
child 45124 144479e89cdb
--- a/jdk/src/java.base/share/classes/java/lang/String.java	Wed May 10 18:27:48 2017 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/String.java	Wed May 10 15:59:15 2017 -0700
@@ -335,7 +335,7 @@
      * subarray.
      *
      * <p> Each {@code byte} in the subarray is converted to a {@code char} as
-     * specified in the method above.
+     * specified in the {@link #String(byte[],int) String(byte[],int)} constructor.
      *
      * @deprecated This method does not properly convert bytes into characters.
      * As of JDK&nbsp;1.1, the preferred way to do this is via the
@@ -390,7 +390,7 @@
 
     /**
      * Allocates a new {@code String} containing characters constructed from
-     * an array of 8-bit integer values. Each character <i>c</i>in the
+     * an array of 8-bit integer values. Each character <i>c</i> in the
      * resulting string is constructed from the corresponding component
      * <i>b</i> in the byte array such that:
      *