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

A typo in the javadoc for javax.imageio.ImageReader

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 7u40, 8, 9
    • client-libs

        A DESCRIPTION OF THE PROBLEM :
        There is a typo in the documentation for javax.imageio.ImageReader. This typo occurs in both the documentations for Java SE 1.4.6 and Java SE 7 (and likely the versions in between as well).
        In ImageReader.getDestination(), under the parameters, it says " width - the true width of the image or tile begin decoded " . I believe 'begin' should be 'being'.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        width - the true width of the image or tile being decoded
        ACTUAL -
        width - the true width of the image or tile begin decoded

        URL OF FAULTY DOCUMENTATION :
        http://docs.oracle.com/javase/1.4.2/docs/api/javax/imageio/ImageReader.html#getDestination(javax.imageio.ImageReadParam, java.util.Iterator, int, int)

              prr Philip Race
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: