commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [lang] Change indirect access to static members to direct access.
Date Thu, 17 Nov 2016 00:48:53 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 71a1c49eb -> cf950e736


Change indirect access to static members to direct access.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/cf950e73
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/cf950e73
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/cf950e73

Branch: refs/heads/master
Commit: cf950e7365848130c5c2d57c871652e6f83e96a8
Parents: 71a1c49
Author: Gary Gregory <ggregory@apache.org>
Authored: Wed Nov 16 16:48:51 2016 -0800
Committer: Gary Gregory <ggregory@apache.org>
Committed: Wed Nov 16 16:48:51 2016 -0800

----------------------------------------------------------------------
 .../org/apache/commons/lang3/text/ExtendedMessageFormatTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/cf950e73/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java b/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
index b2464ac..0a237e3 100644
--- a/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
+++ b/src/test/java/org/apache/commons/lang3/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) {


Mime
View raw message