Prune trailing whitespace & foreachize loops.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@824 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Dave Hoover
2009-05-23 01:57:36 +00:00
parent 09d081e261
commit ecdf0f2f4a
43 changed files with 182 additions and 184 deletions
@@ -68,7 +68,7 @@ public class BundleUtil
*
* @exception IOException thrown if an I/O error occurs while reading the object from the
* bundle.
*/
*/
public static Object loadObject (ResourceBundle bundle, String path, boolean wipeOnFailure)
throws IOException, ClassNotFoundException
{
@@ -47,8 +47,8 @@ public class DumpBundle
System.exit(-1);
}
for (int i = 0; i < args.length; i++) {
File file = new File(args[i]);
for (String arg : args) {
File file = new File(arg);
try {
ResourceBundle bundle = new FileResourceBundle(file);
@@ -69,7 +69,7 @@ public class DumpBundle
dumpTable("components: ", comps);
} catch (Exception e) {
System.err.println("Error dumping bundle [path=" + args[i] +
System.err.println("Error dumping bundle [path=" + arg +
", error=" + e + "].");
e.printStackTrace();
}
@@ -81,5 +81,5 @@ public class DumpBundle
if (table != null) {
System.out.println(prefix + StringUtil.toString(table.entrySet().iterator()));
}
}
}
}