Author: markt Date: Mon Jan 12 06:16:39 2009 New Revision: 733769 URL: http://svn.apache.org/viewvc?rev=733769&view=rev Log: Correct error in generics
Modified: tomcat/trunk/java/org/apache/jasper/servlet/JspCServletContext.java Modified: tomcat/trunk/java/org/apache/jasper/servlet/JspCServletContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/servlet/JspCServletContext.java?rev=733769&r1=733768&r2=733769&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/jasper/servlet/JspCServletContext.java (original) +++ tomcat/trunk/java/org/apache/jasper/servlet/JspCServletContext.java Mon Jan 12 06:16:39 2009 @@ -369,9 +369,9 @@ * * @deprecated This method has been deprecated with no replacement */ - public Enumeration<String> getServlets() { + public Enumeration<Servlet> getServlets() { - return (new Vector<String>().elements()); + return (new Vector<Servlet>().elements()); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org