Che hai usato HashTable come "raw type" cioe' senza specificare il tipo delle chiavi e dei valori.
In Java1.5 sono stati introdotti i tipi parametrizzati:
http://www.mokabyte.it/2004/12/generics-1.htm
http://www.mokabyte.it/2005/01/generics-2.htm
La tua HashTable dovrebbe diventare:
public Hashtable<String, String> ht1 = new Hashtable<String, String>();

Rispondi quotando