We're depending on at least java 1.5 at this point.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1102 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Dave Hoover
2011-01-01 05:03:05 +00:00
parent d984e1678c
commit aa7cef1891
@@ -886,11 +886,7 @@ public class ResourceManager
{
BufferedImage image;
// Java 1.4.2 and below can't deal with the MemoryCacheImageInputStream without throwing
// a hissy fit.
if (iis instanceof ImageInputStream ||
getNumericJavaVersion(System.getProperty("java.version")) <
getNumericJavaVersion("1.5.0")) {
if (iis instanceof ImageInputStream) {
image = ImageIO.read(iis);
} else {