DATACMNS-985 - Remove references to single-argument assertion methods.
This commit is contained in:
committed by
Oliver Gierke
parent
49817278b7
commit
3e048a6dca
@@ -64,7 +64,7 @@ public class SortHandlerMethodArgumentResolver implements SortArgumentResolver {
|
||||
*/
|
||||
public void setSortParameter(String sortParameter) {
|
||||
|
||||
Assert.hasText(sortParameter);
|
||||
Assert.hasText(sortParameter, "SortParameter must not be null nor empty!");
|
||||
this.sortParameter = sortParameter;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user