You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Regis Xu (JIRA)" <ji...@apache.org> on 2009/04/22 08:09:47 UTC

[jira] Resolved: (HARMONY-6166) [classlib][prefs] StringTokenizer is discouraged in AbstractPreferences

     [ https://issues.apache.org/jira/browse/HARMONY-6166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Regis Xu resolved HARMONY-6166.
-------------------------------

    Resolution: Fixed

Thanks Jim.

Patch apply at r767387.
Please verify it was applied as you expected.


> [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.