From 637fcb9c162f0d10cd2cc2518dacc0ec62e82375 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Mon, 11 Jan 2021 09:08:36 -0500 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=BA=90=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=9A=84=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spring-boot-1st/src/main/java/Example.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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