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

(prefs) errors in java.sun.com/j2se/1.4.1/docs/guide/lang/preferences.html

    XMLWordPrintable

    Details

    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Name: gm110360 Date: 09/08/2003


      A DESCRIPTION OF THE PROBLEM :
      I just read the following document:
      http://java.sun.com/j2se/1.4.1/docs/guide/lang/preferences.html

      two typos:
      1. in the section "Obtaining Preferences Objects for a Static Method" it should be "static"
      rather than "Static" (in the code).
      2. in the section "Atomic updates" it should be
       x = Integer.parseInt(position.substring(0, i));
      rather than
       x = Integer.parseInt(coordinates.substring(0, i));



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I just read the following document:
      http://java.sun.com/j2se/1.4.1/docs/guide/lang/preferences.html

      two typos:
      1. in the section "Obtaining Preferences Objects for a Static Method" it should be "static"
      rather than "Static" (in the code).
      2. in the section "Atomic updates" it should be
       x = Integer.parseInt(position.substring(0, i));
      rather than
       x = Integer.parseInt(coordinates.substring(0, i));


      ACTUAL -
      I just read the following document:
      http://java.sun.com/j2se/1.4.1/docs/guide/lang/preferences.html

      two typos:
      1. in the section "Obtaining Preferences Objects for a Static Method" it should be "static"
      rather than "Static" (in the code).
      2. in the section "Atomic updates" it should be
       x = Integer.parseInt(position.substring(0, i));
      rather than
       x = Integer.parseInt(coordinates.substring(0, i));



      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.4.1/docs/guide/lang/preferences.html
      (Incident Review ID: 187224)
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: