Skip to content

Commit 05260bf

Browse files
yelis913mp911de
authored andcommitted
Add missing verb to the error message.
Closes #2524
1 parent eb4eecd commit 05260bf

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/springframework/data/domain

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/domain/Sort.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ public static Order desc(String property) {
436436
private Order(@Nullable Direction direction, String property, boolean ignoreCase, NullHandling nullHandling) {
437437

438438
if (!StringUtils.hasText(property)) {
439-
throw new IllegalArgumentException("Property must not null or empty!");
439+
throw new IllegalArgumentException("Property must not be null or empty!");
440440
}
441441

442442
this.direction = direction == null ? DEFAULT_DIRECTION : direction;

0 commit comments

Comments
 (0)