Skip to content

Commit 7a4c18e

Browse files
committed
Polish "Deprecate JsonContent.assertThat()"
Closes gh-9678
1 parent fa57491 commit 7a4c18e

File tree

1 file changed

+5
-1
lines changed
  • spring-boot-test/src/main/java/org/springframework/boot/test/json

1 file changed

+5
-1
lines changed

spring-boot-test/src/main/java/org/springframework/boot/test/json/JsonContent.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ public JsonContent(Class<?> resourceLoadClass, ResolvableType type, String json)
5353
}
5454

5555
/**
56-
* Use {@link org.assertj.core.api.Assertions#assertThat AspectJ's assertThat} instead
56+
* Use AssertJ's {@link org.assertj.core.api.Assertions#assertThat assertThat}
57+
* instead.
58+
*
59+
* @deprecated in favor of AssertJ's {@link org.assertj.core.api.Assertions#assertThat
60+
* assertThat}
5761
*/
5862
@Override
5963
@Deprecated

0 commit comments

Comments
 (0)