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 1ba87c8d08
commit ae3a2d1904

View File

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