From f57cc00ea3847bc0bbc6a6c30f1a1f4862ca7b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A9=AC=E5=93=A5=EF=BC=88mercyblitz=EF=BC=89?= Date: Mon, 22 Apr 2024 19:22:44 +0800 Subject: [PATCH] Optimize imports --- .../java/io/microsphere/i18n/ServiceMessageExceptionTest.java | 2 -- .../i18n/spring/boot/autoconfigure/I18nAutoConfiguration.java | 4 ---- 2 files changed, 6 deletions(-) diff --git a/microsphere-i18n-core/src/test/java/io/microsphere/i18n/ServiceMessageExceptionTest.java b/microsphere-i18n-core/src/test/java/io/microsphere/i18n/ServiceMessageExceptionTest.java index 52b2150..52d1a13 100644 --- a/microsphere-i18n-core/src/test/java/io/microsphere/i18n/ServiceMessageExceptionTest.java +++ b/microsphere-i18n-core/src/test/java/io/microsphere/i18n/ServiceMessageExceptionTest.java @@ -18,9 +18,7 @@ import io.microsphere.i18n.util.I18nUtils; import org.junit.After; -import org.junit.AfterClass; import org.junit.Before; -import org.junit.BeforeClass; import org.junit.Test; import java.util.Arrays; diff --git a/microsphere-i18n-spring-boot/src/main/java/io/microsphere/i18n/spring/boot/autoconfigure/I18nAutoConfiguration.java b/microsphere-i18n-spring-boot/src/main/java/io/microsphere/i18n/spring/boot/autoconfigure/I18nAutoConfiguration.java index 9820c60..e8ce00b 100644 --- a/microsphere-i18n-spring-boot/src/main/java/io/microsphere/i18n/spring/boot/autoconfigure/I18nAutoConfiguration.java +++ b/microsphere-i18n-spring-boot/src/main/java/io/microsphere/i18n/spring/boot/autoconfigure/I18nAutoConfiguration.java @@ -18,10 +18,6 @@ import io.microsphere.i18n.spring.annotation.EnableI18n; import io.microsphere.i18n.spring.boot.condition.ConditionalOnI18nEnabled; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; - -import static io.microsphere.i18n.spring.constants.I18nConstants.ENABLED_PROPERTY_NAME; /** * I18n Auto-Configuration