Skip to content

Commit bacdb80

Browse files
kdomomp911de
authored andcommitted
Fix null assertion in TypedExampleMatcher.withStringMatcher(…).
Closes #3539 Original pull request: #3540 Signed-off-by: kdomo <dongho5088@naver.com>
1 parent f6c4179 commit bacdb80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/org/springframework/data/domain/TypedExampleMatcher.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public ExampleMatcher withIgnorePaths(String... ignoredPaths) {
7373
@Override
7474
public ExampleMatcher withStringMatcher(StringMatcher defaultStringMatcher) {
7575

76-
Assert.notNull(ignoredPaths, "DefaultStringMatcher must not be empty");
76+
Assert.notNull(defaultStringMatcher, "DefaultStringMatcher must not be empty");
7777

7878
return new TypedExampleMatcher(nullHandler, defaultStringMatcher, propertySpecifiers, ignoredPaths,
7979
defaultIgnoreCase, mode);

0 commit comments

Comments
 (0)