|
|
|
@ -89,7 +89,7 @@ public class ReactiveMongoQueryMethod extends MongoQueryMethod { |
|
|
|
|
|
|
|
|
|
|
|
if (hasParameterOfType(method, Sort.class)) { |
|
|
|
if (hasParameterOfType(method, Sort.class)) { |
|
|
|
throw new IllegalStateException(String.format("Method must not have Pageable *and* Sort parameter. " |
|
|
|
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())); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|