diff --git a/spring-test/src/main/java/org/springframework/test/json/AbstractJsonContentAssert.java b/spring-test/src/main/java/org/springframework/test/json/AbstractJsonContentAssert.java index 37cf2cfd3c1..1f5cda8aa4e 100644 --- a/spring-test/src/main/java/org/springframework/test/json/AbstractJsonContentAssert.java +++ b/spring-test/src/main/java/org/springframework/test/json/AbstractJsonContentAssert.java @@ -28,10 +28,6 @@ import org.assertj.core.api.AbstractStringAssert; import org.assertj.core.api.AssertProvider; import org.assertj.core.error.BasicErrorMessageFactory; import org.assertj.core.internal.Failures; -import org.skyscreamer.jsonassert.JSONCompare; -import org.skyscreamer.jsonassert.JSONCompareMode; -import org.skyscreamer.jsonassert.JSONCompareResult; -import org.skyscreamer.jsonassert.comparator.JSONComparator; import org.springframework.core.io.ByteArrayResource; import org.springframework.core.io.ClassPathResource; @@ -41,7 +37,6 @@ import org.springframework.core.io.Resource; import org.springframework.http.converter.GenericHttpMessageConverter; import org.springframework.lang.Nullable; import org.springframework.util.Assert; -import org.springframework.util.function.ThrowingBiFunction; /** * Base AssertJ {@linkplain org.assertj.core.api.Assert assertions} that can be @@ -51,8 +46,8 @@ import org.springframework.util.function.ThrowingBiFunction; * extracting a part of the document for further {@linkplain JsonPathValueAssert * assertions} on the value. * - *

Also supports comparing the JSON document against a target, using - * {@linkplain JSONCompare JSON Assert}. Resources that are loaded from + *

Also supports comparing the JSON document against a target, using a + * {@linkplain JsonComparator JSON Comparator}. Resources that are loaded from * the classpath can be relative if a {@linkplain #withResourceLoadClass(Class) * class} is provided. By default, {@code UTF-8} is used to load resources, * but this can be overridden using {@link #withCharset(Charset)}. @@ -154,9 +149,9 @@ public abstract class AbstractJsonContentAssertThe resource abstraction allows to provide several input types: *