harmony-commits mailing list archives

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

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

View raw message