Skip to content

Commit 93e1f81

Browse files
committed
Polishing.
Fix assertion. See #563
1 parent 5593bb6 commit 93e1f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/keyvalue/repository/support/KeyValueRepositoryFactoryBean.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void setQueryCreator(Class<? extends AbstractQueryCreator<?, ?>> queryCre
8787
*/
8888
public void setQueryType(Class<? extends RepositoryQuery> repositoryQueryType) {
8989

90-
Assert.notNull(queryCreator, "Query creator type must not be null");
90+
Assert.notNull(repositoryQueryType, "Query creator type must not be null");
9191

9292
this.repositoryQueryType = repositoryQueryType;
9393

0 commit comments

Comments
 (0)