Skip to content

Commit 7ba635f

Browse files
committed
Better internal name
1 parent 7aaa597 commit 7ba635f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/commons/text/ExtendedMessageFormat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public class ExtendedMessageFormat extends MessageFormat {
7878
/**
7979
* The empty string.
8080
*/
81-
private static final String DUMMY_PATTERN = StringUtils.EMPTY;
81+
private static final String EMPTY_PATTERN = StringUtils.EMPTY;
8282

8383
/**
8484
* A comma.
@@ -142,7 +142,7 @@ public ExtendedMessageFormat(final String pattern, final Locale locale) {
142142
public ExtendedMessageFormat(final String pattern,
143143
final Locale locale,
144144
final Map<String, ? extends FormatFactory> registry) {
145-
super(DUMMY_PATTERN);
145+
super(EMPTY_PATTERN);
146146
setLocale(locale);
147147
this.registry = registry != null
148148
? Collections.unmodifiableMap(new HashMap<>(registry))

0 commit comments

Comments
 (0)