Fix obsoleted package name of Querydsl.

Original pull request #2378
This commit is contained in:
Yanming Zhou
2021-12-06 10:52:03 +08:00
committed by Jens Schauder
parent 81c87eba1e
commit affe99abc2
4 changed files with 18 additions and 16 deletions

View File

@@ -108,7 +108,7 @@
<architecture>
<element type="Subsystem" name="Querydsl">
<element type="TypeFilter" name="Assignment">
<element type="IncludeTypePattern" name="com.mysema.query.**"/>
<element type="IncludeTypePattern" name="com.querydsl.**"/>
</element>
</element>
<element type="Subsystem" name="Spring">

View File

@@ -87,7 +87,7 @@ public class QuerydslJpaPredicateExecutor<T> implements QuerydslPredicateExecuto
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findOne(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findOne(com.querydsl.core.types.Predicate)
*/
@Override
public Optional<T> findOne(Predicate predicate) {
@@ -103,7 +103,7 @@ public class QuerydslJpaPredicateExecutor<T> implements QuerydslPredicateExecuto
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.querydsl.core.types.Predicate)
*/
@Override
public List<T> findAll(Predicate predicate) {
@@ -115,7 +115,7 @@ public class QuerydslJpaPredicateExecutor<T> implements QuerydslPredicateExecuto
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.mysema.query.types.Predicate, com.mysema.query.types.OrderSpecifier<?>[])
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.querydsl.core.types.Predicate, com.querydsl.core.types.OrderSpecifier<?>[])
*/
@Override
public List<T> findAll(Predicate predicate, OrderSpecifier<?>... orders) {
@@ -128,7 +128,7 @@ public class QuerydslJpaPredicateExecutor<T> implements QuerydslPredicateExecuto
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.mysema.query.types.Predicate, org.springframework.data.domain.Sort)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.querydsl.core.types.Predicate, org.springframework.data.domain.Sort)
*/
@Override
public List<T> findAll(Predicate predicate, Sort sort) {
@@ -141,7 +141,7 @@ public class QuerydslJpaPredicateExecutor<T> implements QuerydslPredicateExecuto
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.mysema.query.types.OrderSpecifier[])
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.querydsl.core.types.OrderSpecifier[])
*/
@Override
public List<T> findAll(OrderSpecifier<?>... orders) {
@@ -214,7 +214,7 @@ public class QuerydslJpaPredicateExecutor<T> implements QuerydslPredicateExecuto
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#count(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#count(com.querydsl.core.types.Predicate)
*/
@Override
public long count(Predicate predicate) {
@@ -223,7 +223,7 @@ public class QuerydslJpaPredicateExecutor<T> implements QuerydslPredicateExecuto
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#exists(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#exists(com.querydsl.core.types.Predicate)
*/
@Override
public boolean exists(Predicate predicate) {

View File

@@ -55,6 +55,7 @@ import com.querydsl.jpa.impl.AbstractJPAQuery;
* @author Christoph Strobl
* @author Jens Schauder
* @author Greg Turnquist
* @author Yanming Zhou
* @deprecated Instead of this class use {@link QuerydslJpaPredicateExecutor}
*/
@Deprecated
@@ -98,7 +99,7 @@ public class QuerydslJpaRepository<T, ID extends Serializable> extends SimpleJpa
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findOne(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findOne(com.querydsl.core.types.Predicate)
*/
@Override
public Optional<T> findOne(Predicate predicate) {
@@ -112,7 +113,7 @@ public class QuerydslJpaRepository<T, ID extends Serializable> extends SimpleJpa
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.querydsl.core.types.Predicate)
*/
@Override
public List<T> findAll(Predicate predicate) {
@@ -121,7 +122,7 @@ public class QuerydslJpaRepository<T, ID extends Serializable> extends SimpleJpa
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.mysema.query.types.Predicate, com.mysema.query.types.OrderSpecifier<?>[])
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.querydsl.core.types.Predicate, com.querydsl.core.types.OrderSpecifier<?>[])
*/
@Override
public List<T> findAll(Predicate predicate, OrderSpecifier<?>... orders) {
@@ -130,7 +131,7 @@ public class QuerydslJpaRepository<T, ID extends Serializable> extends SimpleJpa
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.mysema.query.types.Predicate, org.springframework.data.domain.Sort)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.querydsl.core.types.Predicate, org.springframework.data.domain.Sort)
*/
@Override
public List<T> findAll(Predicate predicate, Sort sort) {
@@ -142,7 +143,7 @@ public class QuerydslJpaRepository<T, ID extends Serializable> extends SimpleJpa
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.mysema.query.types.OrderSpecifier[])
* @see org.springframework.data.querydsl.QuerydslPredicateExecutor#findAll(com.querydsl.core.types.OrderSpecifier[])
*/
@Override
public List<T> findAll(OrderSpecifier<?>... orders) {
@@ -176,7 +177,7 @@ public class QuerydslJpaRepository<T, ID extends Serializable> extends SimpleJpa
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#count(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#count(com.querydsl.core.types.Predicate)
*/
@Override
public long count(Predicate predicate) {
@@ -185,7 +186,7 @@ public class QuerydslJpaRepository<T, ID extends Serializable> extends SimpleJpa
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#exists(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#exists(com.querydsl.core.types.Predicate)
*/
@Override
public boolean exists(Predicate predicate) {

View File

@@ -33,6 +33,7 @@ import com.querydsl.core.types.Predicate;
*
* @author Oliver Gierke
* @author Thomas Darimont
* @author Yanming Zhou
*/
public interface RoleRepository extends CrudRepository<Role, Integer>, QuerydslPredicateExecutor<Role> {
@@ -56,7 +57,7 @@ public interface RoleRepository extends CrudRepository<Role, Integer>, QuerydslP
/*
* (non-Javadoc)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#findOne(com.mysema.query.types.Predicate)
* @see org.springframework.data.querydsl.QueryDslPredicateExecutor#findOne(com.querydsl.core.types.Predicate)
*/
@Override
@Lock(LockModeType.READ)