mirror of
https://github.com/apache/commons-lang.git
synced 2025-03-01 05:29:11 +00:00
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 ExtendedMessageFormat(String pattern, Map registry) {
|
||||
* @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…
x
Reference in New Issue
Block a user