Restore JDK 1.3 compatibility (the MessageFormat(String, Locale) constructor was introduced in JDK 1.4)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@634092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d86a278500
commit
52a903c691
|
@ -119,7 +119,8 @@ public class ExtendedMessageFormat extends MessageFormat {
|
|||
* @throws IllegalArgumentException in case of a bad pattern.
|
||||
*/
|
||||
public ExtendedMessageFormat(String pattern, Locale locale, Map registry) {
|
||||
super(DUMMY_PATTERN, locale);
|
||||
super(DUMMY_PATTERN);
|
||||
setLocale(locale);
|
||||
this.registry = registry;
|
||||
applyPattern(pattern);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue