Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cast session variable to array list issue

843841Aug 30 2007 — edited Aug 30 2007
Hi,

If i compile the follwing code I get a warning: uses unchecked or unsafe operations. Am I missing something or can that warning be ignored?

ArrayList<String> filterArray = new ArrayList<String>();
filterArray = (ArrayList<String>)session.getAttribute("filterArray");

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2007
Added on Aug 30 2007
3 comments
187 views