TMI-IIO: Removed some deprecation warnings.

This commit is contained in:
Harald Kuhr
2013-11-05 20:24:12 +01:00
parent db0f8901dc
commit 38fa2189bc
13 changed files with 29 additions and 15 deletions
@@ -69,7 +69,7 @@ abstract class JMagickImageReaderSpiSupport extends ImageReaderSpi {
AVAILABLE ? pSuffixes : null, // Suffixes
AVAILABLE ? pMimeTypes : null, // Mime-types
pReaderClassName, // Reader class name
ImageReaderSpi.STANDARD_INPUT_TYPE, // Output types
new Class[] {ImageInputStream.class}, // Input types
pWriterSpiNames, // Writer SPI names
true, // Supports standard stream metadata format
null, // Native stream metadata format name
@@ -30,9 +30,9 @@ package com.twelvemonkeys.imageio.plugins.jmagick;
import javax.imageio.ImageTypeSpecifier;
import javax.imageio.ImageWriter;
import javax.imageio.spi.ImageReaderSpi;
import javax.imageio.spi.ImageWriterSpi;
import javax.imageio.spi.ServiceRegistry;
import javax.imageio.stream.ImageOutputStream;
import java.io.IOException;
import java.util.Locale;
@@ -68,7 +68,7 @@ abstract class JMagickImageWriterSpiSupport extends ImageWriterSpi {
AVAILABLE ? pSuffixes : null, // Suffixes
AVAILABLE ? pMimeTypes : null, // Mime-types
pWriterClassName, // Writer class name
ImageReaderSpi.STANDARD_INPUT_TYPE, // Output types
new Class[] {ImageOutputStream.class}, // Output types
pReaderSpiNames, // Reader SPI names
true, // Supports standard stream metadata format
null, // Native stream metadata format name