Unchecked Errors

  • Share
  • Share

Applies to:


Description:
Warnings that are displayed when generics are not safely used.

Cause:
Passed parameter issue:
Vector v = new Vector();
Hashtable ht = new Hashtable();

JAVA-API

  1. admin
    March 9th, 2009 at 18:22 | #1

    Assign the correct parameters. Example is the following:
    Vector v = new Vector();
    Hashtable
    > ht = new Hashtable>();

  1. No trackbacks yet.