Skip to content

Commit 5844d59

Browse files
yelis913mp911de
authored andcommitted
Add missing verb to the error message.
Closes #2524
1 parent 37bbea8 commit 5844d59

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
@@ -454,7 +454,7 @@ public static Order desc(String property) {
454454
private Order(@Nullable Direction direction, String property, boolean ignoreCase, NullHandling nullHandling) {
455455

456456
if (!StringUtils.hasText(property)) {
457-
throw new IllegalArgumentException("Property must not null or empty!");
457+
throw new IllegalArgumentException("Property must not be null or empty!");
458458
}
459459

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

0 commit comments

Comments
 (0)