This is more of a Servlet API question, but pertains to Tomcat
nonetheless.  I am using Tomcat 5.5.23 with JDK 1.6.

I am having a problem with Generics and request.getParameterNames().
I keep getting a unchecked cast warning (just a warning, but still).

I was going to just use the @SuppressWarnings annotation, since I
pretty much can guarantee that the method will always return an
Enumeration of Strings, right?

Just making sure I would be following the standard idiom until it gets fixed.

thanks

-- brian

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to