You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by py...@apache.org on 2006/07/26 12:30:02 UTC

svn commit: r425697 - /incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/ChoiceFormat.java

Author: pyang
Date: Wed Jul 26 03:30:01 2006
New Revision: 425697

URL: http://svn.apache.org/viewvc?rev=425697&view=rev
Log:
Fix for HARMONY-925 (Test failures in TEXT on ru_RU locale), the first commit missed part of the patch

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/ChoiceFormat.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/ChoiceFormat.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/ChoiceFormat.java?rev=425697&r1=425696&r2=425697&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/ChoiceFormat.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/ChoiceFormat.java Wed Jul 26 03:30:01 2006
@@ -81,7 +81,7 @@
 		List<String> formats = new ArrayList<String>();
 		int length = template.length(), limitCount = 0, index = 0;
 		StringBuffer buffer = new StringBuffer();
-		NumberFormat format = NumberFormat.getInstance();
+		NumberFormat format = NumberFormat.getInstance(Locale.US);
 		ParsePosition position = new ParsePosition(0);
 		while (true) {
 			index = skipWhitespace(template, index);