Commit e6ed5cff by Michael Koch Committed by Anthony Green

ImageIO.java (ReaderFormatFilter.filter): Fixed wrong casting.

2005-04-11  Michael Koch  <konqueror@gmx.de>

        * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
        Fixed wrong casting.

From-SVN: r98031
parent d7b4b07a
2005-04-11 Michael Koch <konqueror@gmx.de>
* javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
Fixed wrong casting.
2005-04-06 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/bytearray.java: New file.
......
......@@ -80,7 +80,7 @@ public final class ImageIO
{
if (provider instanceof ImageReaderSpi)
{
ImageWriterSpi spi = (ImageWriterSpi) provider;
ImageReaderSpi spi = (ImageReaderSpi) provider;
String[] formatNames = spi.getFormatNames();
for (int i = formatNames.length - 1; i >= 0; --i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment