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] Created: (HARMONY-6166) [classlib][prefs] StringTokenizer is discouraged in AbstractPreferences
Date Wed, 22 Apr 2009 05:47:47 GMT
[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


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.


Mime
View raw message