Skip to Main Content

Java APIs

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!

Enumeration is a raw type. References to generic type Enumeration<E> should

843793Dec 6 2007 — edited Dec 12 2007
Hi,

I am getting a compilation warning at the statement
Enumeration<String> params = (Enumeration<String>)request.getParameterNames();
I am facing problem in removing this warning.

I don't want to use @SuppressWarnings("unchecked")

Can anyone please help in removing this warning?

Thanks in advance.

Regrds,
Sridhar
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 9 2008
Added on Dec 6 2007
1 comment
4,489 views