title: Why is StringTokenizer deprecated?
body: <p>The Java documentation doesn't seem to mention anything about deprecation for <code>StringTokenizer</code>, yet I keep hearing about how it was deprecated long ago.  Was it deprecated because it had bugs/errors, or is <code>String.split()</code> simply better to use overall?</p>
  
  <p>I have some code that uses <code>StringTokenizer</code> and I am wondering if I should seriously be concerned about refactoring it to use <code>String.split()</code>, or whether the deprecation is purely a matter of convenience and my code is safe.</p>