You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/11/19 18:36:10 UTC
[6/6] [text] Change indirect accesses to static members to direct
accesses (accesses through subtypes).
Change indirect accesses to static members to direct accesses (accesses
through subtypes).
Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/c62c658f
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/c62c658f
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/c62c658f
Branch: refs/heads/master
Commit: c62c658f7eaf77a91d9c15deecb122719cb2c313
Parents: 4c38c53
Author: Gary Gregory <gg...@apache.org>
Authored: Sat Nov 19 10:34:52 2016 -0800
Committer: Gary Gregory <gg...@apache.org>
Committed: Sat Nov 19 10:34:52 2016 -0800
----------------------------------------------------------------------
.../java/org/apache/commons/text/ExtendedMessageFormatTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-text/blob/c62c658f/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java b/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
index 6b91643..c8a62b8 100644
--- a/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
+++ b/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
@@ -210,7 +210,7 @@ public class ExtendedMessageFormatTest {
public void testBuiltInChoiceFormat() {
final Object[] values = new Number[] {Integer.valueOf(1), Double.valueOf("2.2"), Double.valueOf("1234.5")};
String choicePattern = null;
- final Locale[] availableLocales = ChoiceFormat.getAvailableLocales();
+ final Locale[] availableLocales = NumberFormat.getAvailableLocales();
choicePattern = "{0,choice,1#One|2#Two|3#Many {0,number}}";
for (final Object value : values) {