Remove usage of deprecated code.

Closes #2310
This commit is contained in:
Jens Schauder
2021-09-21 15:27:54 +02:00
parent 680cc4dec3
commit 7f0ec6f2f3
3 changed files with 2 additions and 11 deletions

View File

@@ -124,15 +124,6 @@ class JpaPersistentPropertyImpl extends AnnotationBasedPersistentProperty<JpaPer
: super.getActualType();
}
/*
* (non-Javadoc)
* @see org.springframework.data.mapping.PersistentProperty#getPersistentEntityTypes()
*/
@Override
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypes() {
return getPersistentEntityTypeInformation();
}
/*
* (non-Javadoc)
* @see org.springframework.data.mapping.model.AbstractPersistentProperty#getPersistentEntityTypeInformation()

View File

@@ -69,7 +69,7 @@ public abstract class AbstractJpaQuery implements RepositoryQuery {
private final PersistenceProvider provider;
private final Lazy<JpaQueryExecution> execution;
final Lazy<ParameterBinder> parameterBinder = new Lazy<>(this::createBinder);
final Lazy<ParameterBinder> parameterBinder = Lazy.of(this::createBinder);
/**
* Creates a new {@link AbstractJpaQuery} from the given {@link JpaQueryMethod}.

View File

@@ -32,7 +32,7 @@ import org.springframework.data.querydsl.QSort;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.data.querydsl.SimpleEntityPathResolver;
import org.springframework.data.repository.query.FluentQuery;
import org.springframework.data.repository.support.PageableExecutionUtils;
import org.springframework.data.support.PageableExecutionUtils;
import org.springframework.lang.Nullable;
import org.springframework.util.Assert;