commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r834663 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java
Date Tue, 10 Nov 2009 20:59:16 GMT
Author: mbenson
Date: Tue Nov 10 20:59:16 2009
New Revision: 834663

URL: http://svn.apache.org/viewvc?rev=834663&view=rev
Log:
generics fixup

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java?rev=834663&r1=834662&r2=834663&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java
(original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java
Tue Nov 10 20:59:16 2009
@@ -106,10 +106,10 @@
      * Create a new ExtendedMessageFormat for the default locale.
      * 
      * @param pattern String
-     * @param registry Registry of format factories:  Map<String, FormatFactory>
+     * @param registry Registry of format factories:  Map<String, ? extends FormatFactory>
      * @throws IllegalArgumentException in case of a bad pattern.
      */
-    public ExtendedMessageFormat(String pattern, Map<String, FormatFactory> registry)
{
+    public ExtendedMessageFormat(String pattern, Map<String, ? extends FormatFactory>
registry) {
         this(pattern, Locale.getDefault(), registry);
     }
 
@@ -118,7 +118,7 @@
      * 
      * @param pattern String
      * @param locale Locale
-     * @param registry Registry of format factories:  Map<String, FormatFactory>
+     * @param registry Registry of format factories:  Map<String, ? extends FormatFactory>
      * @throws IllegalArgumentException in case of a bad pattern.
      */
     public ExtendedMessageFormat(String pattern, Locale locale, Map<String, ? extends
FormatFactory> registry) {



Mime
View raw message