mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-04-30 00:00:01 -04:00
#292 Preparing for Java 9 compatibility + general clean-up
This commit is contained in:
+2
-1
@@ -39,6 +39,7 @@ import java.io.IOException;
|
||||
import java.util.Locale;
|
||||
|
||||
import static com.twelvemonkeys.imageio.plugins.svg.SVGProviderInfo.SVG_READER_AVAILABLE;
|
||||
import static com.twelvemonkeys.imageio.util.IIOUtil.*;
|
||||
|
||||
/**
|
||||
* SVGImageReaderSpi
|
||||
@@ -175,7 +176,7 @@ public final class SVGImageReaderSpi extends ImageReaderSpiBase {
|
||||
t.printStackTrace();
|
||||
}
|
||||
|
||||
IIOUtil.deregisterProvider(registry, this, category);
|
||||
deregisterProvider(registry, this, category);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ import java.util.Iterator;
|
||||
*/
|
||||
// TODO: Probably possible to do less wrapping/unwrapping of data...
|
||||
// TODO: Consider using temp file instead of in-memory stream
|
||||
public class WMFImageReader extends ImageReaderBase {
|
||||
public final class WMFImageReader extends ImageReaderBase {
|
||||
|
||||
private SVGImageReader reader = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user