DATAJPA-1064 - Fixed spelling in Querydsl types.
This commit is contained in:
@@ -38,7 +38,7 @@ import com.querydsl.jpa.impl.JPAUpdateClause;
|
||||
* @author Mark Paluch
|
||||
*/
|
||||
@Repository
|
||||
public abstract class QueryDslRepositorySupport {
|
||||
public abstract class QuerydslRepositorySupport {
|
||||
|
||||
private final PathBuilder<?> builder;
|
||||
|
||||
@@ -46,11 +46,11 @@ public abstract class QueryDslRepositorySupport {
|
||||
private Querydsl querydsl;
|
||||
|
||||
/**
|
||||
* Creates a new {@link QueryDslRepositorySupport} instance for the given domain type.
|
||||
* Creates a new {@link QuerydslRepositorySupport} instance for the given domain type.
|
||||
*
|
||||
* @param domainClass must not be {@literal null}.
|
||||
*/
|
||||
public QueryDslRepositorySupport(Class<?> domainClass) {
|
||||
public QuerydslRepositorySupport(Class<?> domainClass) {
|
||||
|
||||
Assert.notNull(domainClass, "Domain class must not be null!");
|
||||
this.builder = new PathBuilderFactory().create(domainClass);
|
||||
@@ -28,8 +28,8 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.data.jpa.domain.sample.User;
|
||||
import org.springframework.data.jpa.repository.config.InfrastructureConfig;
|
||||
import org.springframework.data.jpa.repository.support.QueryDslRepositorySupportTests.UserRepository;
|
||||
import org.springframework.data.jpa.repository.support.QueryDslRepositorySupportTests.UserRepositoryImpl;
|
||||
import org.springframework.data.jpa.repository.support.QueryDslRepositorySupportTests.QuerydslRepositorySupport;
|
||||
import org.springframework.data.jpa.repository.support.QueryDslRepositorySupportTests.QuerydslRepositorySupport;
|
||||
import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
@@ -37,7 +37,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* Integration test for the setup of beans extending {@link QueryDslRepositorySupport}.
|
||||
* Integration test for the setup of beans extending {@link QuerydslRepositorySupport}.
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @author Thomas Darimont
|
||||
@@ -45,7 +45,7 @@ import org.springframework.transaction.annotation.Transactional;
|
||||
@Transactional
|
||||
@ContextConfiguration
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
public class QueryDslRepositorySupportIntegrationTests {
|
||||
public class QuerydslRepositorySupportIntegrationTests {
|
||||
|
||||
@Configuration
|
||||
@EnableTransactionManagement
|
||||
@@ -98,7 +98,7 @@ public class QueryDslRepositorySupportIntegrationTests {
|
||||
assertThat(reconfiguredRepo.getEntityManager().getEntityManagerFactory(), is(em.getEntityManagerFactory()));
|
||||
}
|
||||
|
||||
static class ReconfiguringUserRepositoryImpl extends QueryDslRepositorySupport {
|
||||
static class ReconfiguringUserRepositoryImpl extends QuerydslRepositorySupport {
|
||||
|
||||
public ReconfiguringUserRepositoryImpl() {
|
||||
super(User.class);
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* Integration test for {@link QueryDslRepositorySupport}.
|
||||
* Integration test for {@link QuerydslRepositorySupport}.
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @author Thomas Darimont
|
||||
@@ -41,7 +41,7 @@ import org.springframework.transaction.annotation.Transactional;
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration({ "classpath:infrastructure.xml" })
|
||||
@Transactional
|
||||
public class QueryDslRepositorySupportTests {
|
||||
public class QuerydslRepositorySupportTests {
|
||||
|
||||
@PersistenceContext EntityManager em;
|
||||
|
||||
@@ -123,7 +123,7 @@ public class QueryDslRepositorySupportTests {
|
||||
long deleteAllWithLastname(String lastname);
|
||||
}
|
||||
|
||||
static class UserRepositoryImpl extends QueryDslRepositorySupport implements UserRepository {
|
||||
static class UserRepositoryImpl extends QuerydslRepositorySupport implements UserRepository {
|
||||
|
||||
private static final QUser user = QUser.user;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user