Author: markt Date: Tue Aug 4 22:54:25 2009 New Revision: 801011 URL: http://svn.apache.org/viewvc?rev=801011&view=rev Log: Having fixed the typo, fix all the places it was referenced
Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java tomcat/trunk/java/org/apache/jasper/servlet/JspCServletContext.java Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=801011&r1=801010&r2=801011&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java Tue Aug 4 22:54:25 2009 @@ -897,7 +897,7 @@ return null; } - public ServletRegistration.Dynmaic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, String className) throws IllegalStateException { if (context.initialized) { @@ -916,7 +916,7 @@ } - public ServletRegistration.Dynmaic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, Servlet servlet) throws IllegalStateException { if (context.initialized) { @@ -935,7 +935,7 @@ } - public ServletRegistration.Dynmaic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, Class <? extends Servlet> servletClass) throws IllegalStateException { Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java?rev=801011&r1=801010&r2=801011&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java Tue Aug 4 22:54:25 2009 @@ -442,10 +442,10 @@ } - public ServletRegistration.Dynmaic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, String className) { if (SecurityUtil.isPackageProtectionEnabled()) { - return (ServletRegistration.Dynmaic) doPrivileged( + return (ServletRegistration.Dynamic) doPrivileged( "addServlet", new Object[]{servletName, className}); } else { return context.addServlet(servletName, className); @@ -453,10 +453,10 @@ } - public ServletRegistration.Dynmaic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, Servlet servlet) { if (SecurityUtil.isPackageProtectionEnabled()) { - return (ServletRegistration.Dynmaic) doPrivileged( + return (ServletRegistration.Dynamic) doPrivileged( "addServlet", new Object[]{servletName, servlet}); } else { return context.addServlet(servletName, servlet); @@ -464,10 +464,10 @@ } - public ServletRegistration.Dynmaic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, Class <? extends Servlet> servletClass) { if (SecurityUtil.isPackageProtectionEnabled()) { - return (ServletRegistration.Dynmaic) doPrivileged( + return (ServletRegistration.Dynamic) doPrivileged( "addServlet", new Object[]{servletName, servletClass}); } else { return context.addServlet(servletName, servletClass); 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=801011&r1=801010&r2=801011&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/jasper/servlet/JspCServletContext.java (original) +++ tomcat/trunk/java/org/apache/jasper/servlet/JspCServletContext.java Tue Aug 4 22:54:25 2009 @@ -450,7 +450,7 @@ } - public ServletRegistration.Dynmaic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, String className) { return null; } @@ -488,13 +488,13 @@ } - public javax.servlet.Registration.Dynamic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, Servlet servlet) { return null; } - public javax.servlet.Registration.Dynamic addServlet(String servletName, + public ServletRegistration.Dynamic addServlet(String servletName, Class<? extends Servlet> servletClass) { return null; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org