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:
@@ -84,19 +84,25 @@ public class MessageBundle
|
|||||||
* with an array of arguments that will be automatically tainted (see
|
* with an array of arguments that will be automatically tainted (see
|
||||||
* {@link #taint}).
|
* {@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)
|
public static String tcompose (String key, Object arg)
|
||||||
{
|
{
|
||||||
return MessageUtil.tcompose(key, new Object[] { arg });
|
return MessageUtil.tcompose(key, new Object[] { arg });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A convenience method for calling {@link #compose(String,Object[])}
|
* Required for backwards compatibility. Alas.
|
||||||
* with an array of arguments that will be automatically tainted (see
|
|
||||||
* {@link #taint}).
|
|
||||||
*/
|
*/
|
||||||
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 });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user