Skip to content

Commit d60c0cb

Browse files
committed
DATAJPA-1064 - Fixed spelling in Querydsl types.
1 parent a2c27c6 commit d60c0cb

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/main/java/org/springframework/data/jpa/repository/support/QueryDslRepositorySupport.java renamed to src/main/java/org/springframework/data/jpa/repository/support/QuerydslRepositorySupport.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@
3838
* @author Mark Paluch
3939
*/
4040
@Repository
41-
public abstract class QueryDslRepositorySupport {
41+
public abstract class QuerydslRepositorySupport {
4242

4343
private final PathBuilder<?> builder;
4444

4545
private EntityManager entityManager;
4646
private Querydsl querydsl;
4747

4848
/**
49-
* Creates a new {@link QueryDslRepositorySupport} instance for the given domain type.
49+
* Creates a new {@link QuerydslRepositorySupport} instance for the given domain type.
5050
*
5151
* @param domainClass must not be {@literal null}.
5252
*/
53-
public QueryDslRepositorySupport(Class<?> domainClass) {
53+
public QuerydslRepositorySupport(Class<?> domainClass) {
5454

5555
Assert.notNull(domainClass, "Domain class must not be null!");
5656
this.builder = new PathBuilderFactory().create(domainClass);

src/test/java/org/springframework/data/jpa/repository/support/QueryDslRepositorySupportIntegrationTests.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@
2828
import org.springframework.context.annotation.Configuration;
2929
import org.springframework.data.jpa.domain.sample.User;
3030
import org.springframework.data.jpa.repository.config.InfrastructureConfig;
31-
import org.springframework.data.jpa.repository.support.QueryDslRepositorySupportTests.UserRepository;
32-
import org.springframework.data.jpa.repository.support.QueryDslRepositorySupportTests.UserRepositoryImpl;
31+
import org.springframework.data.jpa.repository.support.QueryDslRepositorySupportTests.QuerydslRepositorySupport;
32+
import org.springframework.data.jpa.repository.support.QueryDslRepositorySupportTests.QuerydslRepositorySupport;
3333
import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
3434
import org.springframework.test.context.ContextConfiguration;
3535
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
3636
import org.springframework.transaction.annotation.EnableTransactionManagement;
3737
import org.springframework.transaction.annotation.Transactional;
3838

3939
/**
40-
* Integration test for the setup of beans extending {@link QueryDslRepositorySupport}.
40+
* Integration test for the setup of beans extending {@link QuerydslRepositorySupport}.
4141
*
4242
* @author Oliver Gierke
4343
* @author Thomas Darimont
4444
*/
4545
@Transactional
4646
@ContextConfiguration
4747
@RunWith(SpringJUnit4ClassRunner.class)
48-
public class QueryDslRepositorySupportIntegrationTests {
48+
public class QuerydslRepositorySupportIntegrationTests {
4949

5050
@Configuration
5151
@EnableTransactionManagement
@@ -98,7 +98,7 @@ public void createsReconfiguredRepoAccordingly() {
9898
assertThat(reconfiguredRepo.getEntityManager().getEntityManagerFactory(), is(em.getEntityManagerFactory()));
9999
}
100100

101-
static class ReconfiguringUserRepositoryImpl extends QueryDslRepositorySupport {
101+
static class ReconfiguringUserRepositoryImpl extends QuerydslRepositorySupport {
102102

103103
public ReconfiguringUserRepositoryImpl() {
104104
super(User.class);

src/test/java/org/springframework/data/jpa/repository/support/QueryDslRepositorySupportTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@
3333
import org.springframework.transaction.annotation.Transactional;
3434

3535
/**
36-
* Integration test for {@link QueryDslRepositorySupport}.
36+
* Integration test for {@link QuerydslRepositorySupport}.
3737
*
3838
* @author Oliver Gierke
3939
* @author Thomas Darimont
4040
*/
4141
@RunWith(SpringJUnit4ClassRunner.class)
4242
@ContextConfiguration({ "classpath:infrastructure.xml" })
4343
@Transactional
44-
public class QueryDslRepositorySupportTests {
44+
public class QuerydslRepositorySupportTests {
4545

4646
@PersistenceContext EntityManager em;
4747

@@ -123,7 +123,7 @@ interface UserRepository {
123123
long deleteAllWithLastname(String lastname);
124124
}
125125

126-
static class UserRepositoryImpl extends QueryDslRepositorySupport implements UserRepository {
126+
static class UserRepositoryImpl extends QuerydslRepositorySupport implements UserRepository {
127127

128128
private static final QUser user = QUser.user;
129129

0 commit comments

Comments
 (0)