Added another method that's booching GG games.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4383 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-09-27 16:59:38 +00:00
parent 8676bb1adc
commit eda71de8d3
@@ -84,19 +84,25 @@ public class MessageBundle
* with an array of arguments that will be automatically tainted (see
* {@link #taint}).
*/
public static String tcompose (String key, Object... args)
{
return MessageUtil.tcompose(key, args);
}
/**
* Required for backwards compatibility. Alas.
*/
public static String tcompose (String key, Object arg)
{
return MessageUtil.tcompose(key, new Object[] { arg });
}
/**
* A convenience method for calling {@link #compose(String,Object[])}
* with an array of arguments that will be automatically tainted (see
* {@link #taint}).
* Required for backwards compatibility. Alas.
*/
public static String tcompose (String key, Object... args)
public static String tcompose (String key, Object arg1, Object arg2)
{
return MessageUtil.tcompose(key, args);
return MessageUtil.tcompose(key, new Object[] { arg1, arg2 });
}
/**