diff --git a/spring-boot-modules/spring-boot-1st/src/main/java/Example.java b/spring-boot-modules/spring-boot-1st/src/main/java/Example.java index d50f5309c4..63a4212a19 100644 --- a/spring-boot-modules/spring-boot-1st/src/main/java/Example.java +++ b/spring-boot-modules/spring-boot-1st/src/main/java/Example.java @@ -1,7 +1,7 @@ -import org.springframework.boot.*; -import org.springframework.boot.autoconfigure.*; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.*; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.EnableAutoConfiguration; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; @RestController @EnableAutoConfiguration