harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r425697 - /incubator/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/ChoiceFormat.java
Date Wed, 26 Jul 2006 10:30:02 GMT
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);



Mime
View raw message