https://issues.apache.org/bugzilla/show_bug.cgi?id=48517
Summary: @SuppressWarnings("unchecked") - document and reduce scope Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Windows XP Status: NEW Severity: enhancement Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: s...@apache.org Created an attachment (id=24826) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24826) Patch - see description @SuppressWarnings("unchecked") is occasionally necessary to stop the compiler complaining unnecessarily. The attached patch ensures that all the existing tags have comments explaining why they are OK - or necessary (because the API is not generic). It also restricts the scope of the annotation so that it only applies to the specific warning. The intention is to make code maintenance easier and safer. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org