What is the purpose of "@SuppressWarnings("unchecked")"?
<p>I have found following code on net. I am confused about the first line. What is the purpose of this line ?</p>

<pre><code>@SuppressWarnings("unchecked")
private void showAlert(String title,String msg,final Class cls)
{
    AlertDialog alertDialog = new AlertDialog.Builder(this).create();
    alertDialog.setTitle(title);
    alertDialog.setMessage(msg);
    alertDialog.setButton("OK", new DialogInterface.OnClickListener() {
        public void onClick(DialogInterface dialog, int which) {
            Intent samepage = new Intent(LoginActivity.this,
                    cls);
            startActivity(samepage);

        }
    });
    alertDialog.setIcon(R.drawable.icon);
    alertDialog.show();
}
</code></pre>
