File tree 1 file changed +2
-1
lines changed
src/main/java/org/springframework/data/repository/core/support
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 41
41
* @author Thomas Darimont
42
42
* @author Jens Schauder
43
43
* @author Mark Paluch
44
+ * @author Konstntin Ignatyev
44
45
*/
45
46
public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
46
47
@@ -56,7 +57,7 @@ public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
56
57
public AbstractRepositoryMetadata (Class <?> repositoryInterface ) {
57
58
58
59
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" );
60
61
61
62
this .repositoryInterface = repositoryInterface ;
62
63
this .typeInformation = TypeInformation .of (repositoryInterface );
You can’t perform that action at this time.
0 commit comments