generics fixup
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@834663 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
caf3f0c3c3
commit
89af393b32
|
@ -106,10 +106,10 @@ public class ExtendedMessageFormat extends MessageFormat {
|
|||
* 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 @@ public class ExtendedMessageFormat extends MessageFormat {
|
|||
*
|
||||
* @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) {
|
||||
|
|
Loading…
Reference in New Issue