File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/org/springframework/data/repository/core/support Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4141 * @author Thomas Darimont
4242 * @author Jens Schauder
4343 * @author Mark Paluch
44+ * @author Konstntin Ignatyev
4445 */
4546public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
4647
@@ -56,7 +57,7 @@ public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
5657 public AbstractRepositoryMetadata (Class <?> repositoryInterface ) {
5758
5859 Assert .notNull (repositoryInterface , "Given type must not be null" );
59- Assert .isTrue (repositoryInterface .isInterface (), "Given type must be an interface" );
60+ Assert .isTrue (repositoryInterface .isInterface (), "Given type [" + repositoryInterface . getName ()+ "] must be an interface" );
6061
6162 this .repositoryInterface = repositoryInterface ;
6263 this .typeInformation = TypeInformation .of (repositoryInterface );
You can’t perform that action at this time.
0 commit comments