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

contradiction in description of getDestinationType()

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: vrR10176 Date: 06/09/2001



      Api spec (jdk1.4.0beta-b67) says about the method
      javax.imageio.IIOParam.getDestinationType():

      "public ImageTypeSpecifier getDestinationType()
        Returns the type of image to be returned by the read, if one
      was set by a call to setDestination(ImageTypeSpecifier), as an
      ImageTypeSpecifier. If none was set, null is returned.
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Returns:
        an ImageTypeSpecifier describing the destination type, or null.
      Throws:
        IllegalStateException - if no type was set."
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      The sentences of this description "If none was set, null is returned."
      and "IllegalStateException - if no type was set." are inconsistent.

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            dricesunw Daniel Rice (Inactive)
            Reporter:
            rslasunw Rsla Rsla (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: