title: How do decode URL entities in java?
body: <p>I'm trying to decode html entities in Java, but I noticed that </p>
  
  <pre><code>URLDecoder.decode(String stringToDecode, String charset);
  </code></pre>
  
  <p>is deprecated.</p>
  
  <p>What should I use instead of it?</p>