BAEL-89 - removing @RestController from application classes

This commit is contained in:
slavisa-baeldung 2016-11-15 21:23:04 +01:00
parent 3c254fad0b
commit 62d58599c5
2 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication
@RestController
public class JettyWebApplication {
public static void main(String[] args) {
SpringApplication.run(JettyWebApplication.class, args);

View File

@ -6,7 +6,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication
@RestController
public class TomcatWebApplication {
public static void main(String[] args) {
SpringApplication.run(TomcatWebApplication.class, args);