Skip to content

Commit 085c309

Browse files
rlaopekhope
authored andcommitted
Add @nullable annotation to AbstractJsonPathAssertions.isEqualTo parameter
Signed-off-by: Hope Kim <[email protected]> Signed-off-by: khope <[email protected]>
1 parent 1107a43 commit 085c309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-test/src/main/java/org/springframework/test/web/support/AbstractJsonPathAssertions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected AbstractJsonPathAssertions(B spec, String content, String expression,
5858
/**
5959
* Applies {@link JsonPathExpectationsHelper#assertValue(String, Object)}.
6060
*/
61-
public B isEqualTo(Object expectedValue) {
61+
public B isEqualTo(@Nullable Object expectedValue) {
6262
this.pathHelper.assertValue(this.content, expectedValue);
6363
return this.bodySpec;
6464
}

0 commit comments

Comments
 (0)