aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax')
-rw-r--r--libjava/javax/imageio/ImageIO.java2
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)