diff options
author | Tom Tromey <tromey@redhat.com> | 2006-05-15 22:26:55 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2006-05-15 22:26:55 +0000 |
commit | 7eab2896e4bc891612450c50a41d99e1804fc940 (patch) | |
tree | 686b91443ee9dac4dcea24fdc9cfd5c3aecc8943 | |
parent | 8e385101dbfd3f06bd6ef46eeeb4c9a372c664cc (diff) | |
download | classpath-7eab2896e4bc891612450c50a41d99e1804fc940.tar.gz |
* java/text/MessageFormat.java (format): Now varargs.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | java/text/MessageFormat.java | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2006-05-15 Tom Tromey <tromey@redhat.com> + * java/text/MessageFormat.java (format): Now varargs. + +2006-05-15 Tom Tromey <tromey@redhat.com> + * java/lang/Thread.java (State): Fixed typo. 2006-05-15 Mark Wielaard <mark@klomp.org> diff --git a/java/text/MessageFormat.java b/java/text/MessageFormat.java index f59cfd5ca..3d428ac7e 100644 --- a/java/text/MessageFormat.java +++ b/java/text/MessageFormat.java @@ -396,7 +396,7 @@ public class MessageFormat extends Format * @param pattern The pattern used when formatting. * @param arguments The array containing the objects to be formatted. */ - public static String format (String pattern, Object arguments[]) + public static String format (String pattern, Object... arguments) { MessageFormat mf = new MessageFormat (pattern); StringBuffer sb = new StringBuffer (); |