DATAMONGO-2562 - Polishing.

Fix typo in exception message.
This commit is contained in:
Mark Paluch
2020-06-09 11:14:15 +02:00
parent 04e77ad5ab
commit d9ca3d7eb3

View File

@@ -89,7 +89,7 @@ public class ReactiveMongoQueryMethod extends MongoQueryMethod {
if (hasParameterOfType(method, Sort.class)) {
throw new IllegalStateException(String.format("Method must not have Pageable *and* Sort parameter. "
+ "Use sorting capabilities on Pageble instead! Offending method: %s", method.toString()));
+ "Use sorting capabilities on Pageable instead! Offending method: %s", method.toString()));
}
}