diff options
author | Michael Koch <konqueror@gmx.de> | 2005-04-12 18:38:31 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2005-04-12 18:38:31 +0000 |
commit | e6ed5cff83d748422e2bf25319c2bf7ff4065222 (patch) | |
tree | 12dc0618ff200aff09836f64578d19f9283aa4b9 /libjava/javax | |
parent | d7b4b07a23603fa00a7af0d4bc03fed458ca0438 (diff) | |
download | gcc-e6ed5cff83d748422e2bf25319c2bf7ff4065222.zip gcc-e6ed5cff83d748422e2bf25319c2bf7ff4065222.tar.gz gcc-e6ed5cff83d748422e2bf25319c2bf7ff4065222.tar.bz2 |
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
Diffstat (limited to 'libjava/javax')
-rw-r--r-- | libjava/javax/imageio/ImageIO.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/javax/imageio/ImageIO.java b/libjava/javax/imageio/ImageIO.java index 7afb720..c93ff73 100644 --- a/libjava/javax/imageio/ImageIO.java +++ b/libjava/javax/imageio/ImageIO.java @@ -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) |