diff --git a/src/java/com/threerings/util/MessageBundle.java b/src/java/com/threerings/util/MessageBundle.java index 19b1ad0e3..3fe7062d6 100644 --- a/src/java/com/threerings/util/MessageBundle.java +++ b/src/java/com/threerings/util/MessageBundle.java @@ -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 }); } /**