diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-12 18:38:31 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-12 18:38:31 +0000 |
commit | 6aaa71f2bd10d17b574398bd4af36beab806d0ae (patch) | |
tree | 12dc0618ff200aff09836f64578d19f9283aa4b9 /libjava | |
parent | 99cd0ede8aacf53ceb4e7e186acd2f8501d813e0 (diff) | |
download | gcc-6aaa71f2bd10d17b574398bd4af36beab806d0ae.tar.gz |
2005-04-11 Michael Koch <konqueror@gmx.de>
* javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
Fixed wrong casting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98031 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/javax/imageio/ImageIO.java | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 298bfeca76a..c6b7e345fe2 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/libjava/javax/imageio/ImageIO.java b/libjava/javax/imageio/ImageIO.java index 7afb7207a79..c93ff738dac 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) |