Upgrade to spring-javaformat 0.0.11
This commit is contained in:
@@ -40,8 +40,7 @@ public class SampleServletApplication extends SpringBootServletInitializer {
|
||||
public Servlet dispatcherServlet() {
|
||||
return new GenericServlet() {
|
||||
@Override
|
||||
public void service(ServletRequest req, ServletResponse res)
|
||||
throws ServletException, IOException {
|
||||
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
|
||||
res.setContentType("text/plain");
|
||||
res.getWriter().append("Hello World");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user