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

Typo: java.lang.Byte.parseByte(String s)

XMLWordPrintable

    • x86
    • windows_xp

      Name: rmT116609 Date: 05/17/2004


      A DESCRIPTION OF THE PROBLEM :
      Under the Class: java.lang.Byte
      in the method: public static byte parseByte(String s) throws NumberFormatException
      under the 'Throws' section.

      There is a minor typo, the word 'the' is repeated as shown:

      "NumberFormatException - if the the string does not contain a parsable byte."

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Only one 'the'
      ACTUAL -
      "NumberFormatException - if the the string does not contain a parsable byte."

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Byte.html#parseByte(java.lang.String)
      (Incident Review ID: 265542)
      ======================================================================

            martin Martin Buchholz
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: