DATACMNS-1804 - Correct grammar in Exception messages thrown by Repository classes.

Original pull request: #467.
This commit is contained in:
John Blum
2020-09-24 13:40:23 -07:00
committed by Jens Schauder
parent eb4225d73b
commit 592d9a6482

View File

@@ -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()));
}