Fix typo in DynamicRegistrationBean class name

Closes gh-11606
pull/11619/head
Johnny Lim 7 years ago committed by Stephane Nicoll
parent bfa2c87b4e
commit 136e26e307

@ -56,7 +56,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplicat
import org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration;
import org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.DynaimcRegistrationBean;
import org.springframework.boot.web.servlet.DynamicRegistrationBean;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
@ -181,7 +181,7 @@ public class JerseyAutoConfiguration implements ServletContextAware {
return ClassUtils.getUserClass(this.config.getClass()).getName();
}
private void addInitParameters(DynaimcRegistrationBean<?> registration) {
private void addInitParameters(DynamicRegistrationBean<?> registration) {
for (Entry<String, String> entry : this.jersey.getInit().entrySet()) {
registration.addInitParameter(entry.getKey(), entry.getValue());
}

@ -42,7 +42,7 @@ import org.springframework.util.Assert;
* @author Phillip Webb
*/
abstract class AbstractFilterRegistrationBean<T extends Filter>
extends DynaimcRegistrationBean<FilterRegistration.Dynamic> {
extends DynamicRegistrationBean<Dynamic> {
/**
* Filters that wrap the servlet request should be ordered less than or equal to this.

@ -37,7 +37,7 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb
* @since 2.0.0
*/
public abstract class DynaimcRegistrationBean<D extends Registration.Dynamic>
public abstract class DynamicRegistrationBean<D extends Registration.Dynamic>
extends RegistrationBean {
private static final Log logger = LogFactory.getLog(RegistrationBean.class);

@ -246,7 +246,7 @@ public class ServletContextInitializerBeans
}
/**
* Adapter to convert a given Bean type into a {@link DynaimcRegistrationBean} (and
* Adapter to convert a given Bean type into a {@link DynamicRegistrationBean} (and
* hence a {@link ServletContextInitializer}.
*/
private interface RegistrationBeanAdapter<T> {

@ -51,7 +51,7 @@ import org.springframework.util.ObjectUtils;
* @see ServletContext#addServlet(String, Servlet)
*/
public class ServletRegistrationBean<T extends Servlet>
extends DynaimcRegistrationBean<ServletRegistration.Dynamic> {
extends DynamicRegistrationBean<ServletRegistration.Dynamic> {
private static final Log logger = LogFactory.getLog(ServletRegistrationBean.class);

Loading…
Cancel
Save