Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 72917 invoked from network); 22 Apr 2009 05:50:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 05:50:10 -0000 Received: (qmail 40453 invoked by uid 500); 22 Apr 2009 05:50:10 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 40399 invoked by uid 500); 22 Apr 2009 05:50:10 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 40390 invoked by uid 99); 22 Apr 2009 05:50:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 05:50:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 05:50:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 869E4234C046 for ; Tue, 21 Apr 2009 22:49:47 -0700 (PDT) Message-ID: <323843407.1240379387550.JavaMail.jira@brutus> Date: Tue, 21 Apr 2009 22:49:47 -0700 (PDT) From: "Jim Yu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-6166) [classlib][prefs] StringTokenizer is discouraged in AbstractPreferences In-Reply-To: <927282833.1240379267425.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Yu updated HARMONY-6166: ---------------------------- Attachment: HARMONY-6166.diff > [classlib][prefs] StringTokenizer is discouraged in AbstractPreferences > ----------------------------------------------------------------------- > > Key: HARMONY-6166 > URL: https://issues.apache.org/jira/browse/HARMONY-6166 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 5.0M9 > Reporter: Jim Yu > Fix For: 5.0M10 > > Attachments: HARMONY-6166.diff > > Original Estimate: 24h > Remaining Estimate: 24h > > As spec mentioned, "StringTokenizer is a legacy class that is retained for compatibility reasons although its use is discouraged in new code. It is recommended that anyone seeking this functionality use the split method of String or the java.util.regex package instead. " I made a patch to replace the usage of StringTokenizer with String.split method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.