harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Yu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6166) [classlib][prefs] StringTokenizer is discouraged in AbstractPreferences
Date Wed, 22 Apr 2009 06:25:47 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701404#action_12701404

Jim Yu commented on HARMONY-6166:

Verified at r767387. Thanks, Regis.

> [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
>            Assignee: Regis Xu
>             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.

View raw message