Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 5002 invoked from network); 26 Jul 2006 10:30:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 10:30:23 -0000 Received: (qmail 3951 invoked by uid 500); 26 Jul 2006 10:30:23 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 3915 invoked by uid 500); 26 Jul 2006 10:30:23 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 3895 invoked by uid 99); 26 Jul 2006 10:30:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 03:30:23 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 03:30:22 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 906101A981A; Wed, 26 Jul 2006 03:30:02 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: harmony-commits@incubator.apache.org From: pyang@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060726103002.906101A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 formats = new ArrayList(); 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);