KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The Java documentation doesn't seem to mention anything about deprecation for StringTokenizer , yet I keep hearing about how it was deprecated long ago. Was it deprecated because it had bugs/errors, or is String.split() simply better to use overall? I have some code that uses StringTokenizer and I am wondering if I should seriously be concerned about refactoring it to use String.split() , or whether the deprecation is purely a matter of convenience and my code is safe.
Tags (comma-separated)
Save Edits
Cancel