Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

VariableDeclaratorId expected after this token or Unchecked cast from Object to Vector  RSS feed

 
Rob Nurdaer
Greenhorn
Posts: 4
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Syntax error on token "vec", VariableDeclaratorId expected after this token



Unchecked cast from Object to Vector<Hashtable<String,String>>



Can anyone help me explain away the warning and the error. It works without the suppress but I'd rather not have the warning.

Order seems right to me. obj is not null... Before you say I should use ArrayList The object is an old item I am using something a previous programmer created. Same thing for Hashtable instead of HashMap
Before you tell me not to use scriplets I have (for some unknown reason) to, boss just said so didn't explain why. But it's an internal site anyhow so I don't think it matters much for this.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!