improve code quality
This commit is contained in:
parent
eeadbb04f0
commit
d790913cbd
@ -14,8 +14,8 @@ public class WebConf {
|
|||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public ServletRegistrationBean customServletBean() {
|
public ServletRegistrationBean customServletBean() {
|
||||||
ServletRegistrationBean bean =
|
ServletRegistrationBean bean
|
||||||
new ServletRegistrationBean(new CustomServlet(), "/servlet");
|
= new ServletRegistrationBean(new CustomServlet(), "/servlet");
|
||||||
return bean;
|
return bean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user