mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-01 00:00:02 -04:00
TMI-IIO: Removed some deprecation warnings.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user