From ae3a2d190438c4b7227c1a302f8d43f5f231067f 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 94a785305..16ec6cfa9 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 @@ -78,6 +78,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 { @@ -469,7 +470,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())); }