Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8180128

small errors in String javadoc

    XMLWordPrintable

Details

    • b170
    • Not verified

    Backports

      Description

        There are a couple small errors in the String javadoc.

        1) In the doc for String(byte[], int, int, int) it says:

             * <p> Each {@code byte} in the subarray is converted to a {@code char} as
             * specified in the method above.

        The "method above" really should refer to the String(byte[], int) constructor.

        2) In the doc for String(byte[] int) there is a missing space after "c" in this line:

             * an array of 8-bit integer values. Each character <i>c</i>in the

        Attachments

          Issue Links

            Activity

              People

                smarks Stuart Marks
                smarks Stuart Marks
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: