harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r582345 - /harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/MessageFormat.java
Date Fri, 05 Oct 2007 17:07:29 GMT
Author: ayza
Date: Fri Oct  5 10:07:22 2007
New Revision: 582345

URL: http://svn.apache.org/viewvc?rev=582345&view=rev
Log:
MessageFormat.format(Object) signature was corrected to better correspond to 1.5 spec

Modified:
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/MessageFormat.java

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/MessageFormat.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/MessageFormat.java?rev=582345&r1=582344&r2=582345&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/MessageFormat.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/MessageFormat.java
Fri Oct  5 10:07:22 2007
@@ -427,7 +427,7 @@
      * @exception IllegalArgumentException
      *                when the pattern cannot be parsed
      */
-    public static String format(String template, Object[] objects) {
+    public static String format(String template, Object... objects) {
         return new MessageFormat(template).format(objects);
     }
 



Mime
View raw message