Skip to content

Commit 592d9a6

Browse files
jxblumschauder
authored andcommitted
DATACMNS-1804 - Correct grammar in Exception messages thrown by Repository classes.
Original pull request: #467.
1 parent eb4225d commit 592d9a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
* @author Mark Paluch
8282
* @author Christoph Strobl
8383
* @author Jens Schauder
84+
* @author John Blum
8485
*/
8586
@Slf4j
8687
public abstract class RepositoryFactorySupport implements BeanClassLoaderAware, BeanFactoryAware {
@@ -477,7 +478,7 @@ private void validate(RepositoryInformation repositoryInformation, RepositoryCom
477478
if (composition.isEmpty()) {
478479

479480
throw new IllegalArgumentException(
480-
String.format("You have custom methods in %s but not provided a custom implementation!",
481+
String.format("You have custom methods in %s but have not provided a custom implementation!",
481482
repositoryInformation.getRepositoryInterface()));
482483
}
483484

0 commit comments

Comments
 (0)