Nixed a bunch of redundant casts.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@304 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -120,8 +120,7 @@ public class TileSetTrimmer
|
||||
// create the new tileset image
|
||||
BufferedImage image = null;
|
||||
try {
|
||||
image = ImageUtil.createCompatibleImage(
|
||||
(BufferedImage)source.getRawTileSetImage(), nextx, maxy);
|
||||
image = ImageUtil.createCompatibleImage(source.getRawTileSetImage(), nextx, maxy);
|
||||
|
||||
} catch (RasterFormatException rfe) {
|
||||
throw new IOException("Failed to create trimmed tileset image " +
|
||||
|
||||
Reference in New Issue
Block a user