-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
generic
-
generic
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.
======================================================================