Skip to content

Commit 7f0ec6f

Browse files
committed
Remove usage of deprecated code.
Closes #2310
1 parent 680cc4d commit 7f0ec6f

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

src/main/java/org/springframework/data/jpa/mapping/JpaPersistentPropertyImpl.java

-9
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,6 @@ public Class<?> getActualType() {
124124
: super.getActualType();
125125
}
126126

127-
/*
128-
* (non-Javadoc)
129-
* @see org.springframework.data.mapping.PersistentProperty#getPersistentEntityTypes()
130-
*/
131-
@Override
132-
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypes() {
133-
return getPersistentEntityTypeInformation();
134-
}
135-
136127
/*
137128
* (non-Javadoc)
138129
* @see org.springframework.data.mapping.model.AbstractPersistentProperty#getPersistentEntityTypeInformation()

src/main/java/org/springframework/data/jpa/repository/query/AbstractJpaQuery.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public abstract class AbstractJpaQuery implements RepositoryQuery {
6969
private final PersistenceProvider provider;
7070
private final Lazy<JpaQueryExecution> execution;
7171

72-
final Lazy<ParameterBinder> parameterBinder = new Lazy<>(this::createBinder);
72+
final Lazy<ParameterBinder> parameterBinder = Lazy.of(this::createBinder);
7373

7474
/**
7575
* Creates a new {@link AbstractJpaQuery} from the given {@link JpaQueryMethod}.

src/main/java/org/springframework/data/jpa/repository/support/QuerydslJpaRepository.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
3333
import org.springframework.data.querydsl.SimpleEntityPathResolver;
3434
import org.springframework.data.repository.query.FluentQuery;
35-
import org.springframework.data.repository.support.PageableExecutionUtils;
35+
import org.springframework.data.support.PageableExecutionUtils;
3636
import org.springframework.lang.Nullable;
3737
import org.springframework.util.Assert;
3838

0 commit comments

Comments
 (0)