Minor edit.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1164 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-03-27 21:52:41 +00:00
parent 4c43512f3b
commit 95ed4b001d
@@ -1,5 +1,5 @@
// //
// $Id: MessageBundle.java,v 1.6 2002/03/27 07:09:04 shaper Exp $ // $Id: MessageBundle.java,v 1.7 2002/03/27 21:52:41 mdb Exp $
package com.threerings.util; package com.threerings.util;
@@ -290,13 +290,14 @@ public class MessageBundle
*/ */
public static String tcompose (String key, String[] args) public static String tcompose (String key, String[] args)
{ {
String[] targs = new String[args.length]; int acount = args.length;
for (int ii = 0; ii < args.length; ii++) { String[] targs = new String[acount];
for (int ii = 0; ii < acount; ii++) {
targs[ii] = taint(args[ii]); targs[ii] = taint(args[ii]);
} }
return compose(key, targs); return compose(key, targs);
} }
/** The path that identifies the resource bundle we are using to /** The path that identifies the resource bundle we are using to
* obtain our messages. */ * obtain our messages. */
protected String _path; protected String _path;