From b5fba14ab8396fb50b9ec3e6b19dea9f1c74b350 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Thu, 11 Jul 2019 18:13:59 +0200 Subject: [PATCH] Fix Checkstyle violation Eclipse apparently sorts static imports differently. --- .../test/context/support/TestConstructorUtilsTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-test/src/test/java/org/springframework/test/context/support/TestConstructorUtilsTests.java b/spring-test/src/test/java/org/springframework/test/context/support/TestConstructorUtilsTests.java index e1d8ee6004..2b65cb5136 100644 --- a/spring-test/src/test/java/org/springframework/test/context/support/TestConstructorUtilsTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/support/TestConstructorUtilsTests.java @@ -26,7 +26,6 @@ import org.springframework.core.SpringProperties; import org.springframework.test.context.TestConstructor; import static org.assertj.core.api.Assertions.assertThat; -import static org.springframework.test.context.TestConstructor.TEST_CONSTRUCTOR_AUTOWIRE_MODE_PROPERTY_NAME; import static org.springframework.test.context.TestConstructor.AutowireMode.ALL; import static org.springframework.test.context.TestConstructor.AutowireMode.ANNOTATED; @@ -105,7 +104,7 @@ public class TestConstructorUtilsTests { } private void setGlobalFlag(String flag) { - SpringProperties.setProperty(TEST_CONSTRUCTOR_AUTOWIRE_MODE_PROPERTY_NAME, flag); + SpringProperties.setProperty(TestConstructor.TEST_CONSTRUCTOR_AUTOWIRE_MODE_PROPERTY_NAME, flag); }