Browse Source

Fixed generics in RepositoryFactoryBeanSupport.

pull/2/head
Oliver Gierke 15 years ago
parent
commit
ca03775dae
  1. 2
      spring-data-commons-core/src/main/java/org/springframework/data/repository/support/RepositoryFactoryBeanSupport.java

2
spring-data-commons-core/src/main/java/org/springframework/data/repository/support/RepositoryFactoryBeanSupport.java

@ -53,7 +53,7 @@ public abstract class RepositoryFactoryBeanSupport<T extends Repository<?, ?>> @@ -53,7 +53,7 @@ public abstract class RepositoryFactoryBeanSupport<T extends Repository<?, ?>>
* @param repositoryInterface the repository interface to set
*/
@Required
public void setRepositoryInterface(Class<T> repositoryInterface) {
public void setRepositoryInterface(Class<? extends T> repositoryInterface) {
Assert.notNull(repositoryInterface);
this.repositoryInterface = repositoryInterface;

Loading…
Cancel
Save