From 56df6f1913a8669cfa5a61ac263df632965dd94f Mon Sep 17 00:00:00 2001 From: Dave Hoover Date: Thu, 10 Jan 2008 19:55:45 +0000 Subject: [PATCH] Truth in commenting: the DirectoryTileSetBundler isn't rewriting things in our own image format git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@392 ed5b42cb-e716-0410-a449-f6a68f950b19 --- .../media/tile/bundle/tools/DirectoryTileSetBundler.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/com/threerings/media/tile/bundle/tools/DirectoryTileSetBundler.java b/src/java/com/threerings/media/tile/bundle/tools/DirectoryTileSetBundler.java index f3f898bb..3baa2886 100644 --- a/src/java/com/threerings/media/tile/bundle/tools/DirectoryTileSetBundler.java +++ b/src/java/com/threerings/media/tile/bundle/tools/DirectoryTileSetBundler.java @@ -120,8 +120,7 @@ public class DirectoryTileSetBundler extends TileSetBundler } } else { - // read the image file and convert it to our custom - // format in the bundle + // read the image file and write it to the proper place File ifile = new File(imageBase, imagePath); if (ifile.lastModified() > newestMod) { // Our file's newer than the newest bundle mod - up to date. @@ -140,8 +139,7 @@ public class DirectoryTileSetBundler extends TileSetBundler FileInputStream imgin = new FileInputStream(ifile); IOUtils.copy(imgin, fout); } catch (Exception e) { - String msg = "Failure bundling image " + ifile + - ": " + e; + String msg = "Failure bundling image " + ifile + ": " + e; throw (IOException) new IOException(msg).initCause(e); } }