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
This commit is contained in:
Dave Hoover
2008-01-10 19:55:45 +00:00
parent 9733142d35
commit 56df6f1913
@@ -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);
}
}