From 981a748dccbc0d24a37e72edd95bb3c7e8cff9df Mon Sep 17 00:00:00 2001 From: nkjackzhang Date: Fri, 17 Jun 2016 23:18:36 +0800 Subject: [PATCH] Fix ambiguous static import in TestPropertySourceUtilsTests --- .../test/context/support/TestPropertySourceUtilsTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-test/src/test/java/org/springframework/test/context/support/TestPropertySourceUtilsTests.java b/spring-test/src/test/java/org/springframework/test/context/support/TestPropertySourceUtilsTests.java index 48ab1990cf..1324c21902 100644 --- a/spring-test/src/test/java/org/springframework/test/context/support/TestPropertySourceUtilsTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/support/TestPropertySourceUtilsTests.java @@ -32,7 +32,7 @@ import org.springframework.mock.env.MockEnvironment; import org.springframework.mock.env.MockPropertySource; import org.springframework.test.context.TestPropertySource; -import static org.hamcrest.CoreMatchers.*; +import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.CoreMatchers.startsWith; import static org.junit.Assert.*; import static org.mockito.Matchers.*;