From 592d9a64826643d2bae3c3d9b7278a22f42d2099 Mon Sep 17 00:00:00 2001 From: John Blum Date: Thu, 24 Sep 2020 13:40:23 -0700 Subject: [PATCH] DATACMNS-1804 - Correct grammar in Exception messages thrown by Repository classes. Original pull request: #467. --- .../data/repository/core/support/RepositoryFactorySupport.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java index 667fc00ef..837e3431a 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java @@ -81,6 +81,7 @@ import org.springframework.util.ConcurrentReferenceHashMap.ReferenceType; * @author Mark Paluch * @author Christoph Strobl * @author Jens Schauder + * @author John Blum */ @Slf4j public abstract class RepositoryFactorySupport implements BeanClassLoaderAware, BeanFactoryAware { @@ -477,7 +478,7 @@ public abstract class RepositoryFactorySupport implements BeanClassLoaderAware, if (composition.isEmpty()) { throw new IllegalArgumentException( - String.format("You have custom methods in %s but not provided a custom implementation!", + String.format("You have custom methods in %s but have not provided a custom implementation!", repositoryInformation.getRepositoryInterface())); }