title: Type safety: The expression of type Map.Entry needs unchecked conversion to conform to Map.Entry<String,CredentialParam>
body: <p>I'm trying to Retrieve all parameters stored in the credential object with the following Java code:</p>
  
  <p><code>Map.Entry &lt;String,CredentialParam&gt; pairs = (Map.Entry)it.next();</code></p>
  
  <p>However, I keep getting the following warning:</p>
  
  <blockquote>
    <p>Type safety: The expression of type Map.Entry needs unchecked conversion to conform to Map.Entry</p>
  </blockquote>
  
  <p>Other than suppressing the warning, Is there away I can remove this warning?
  Thanks.</p>