Removed deprecated usage of Lazy.
Replaced in `AbstractJpaQuery` the deprecated way of using `Lazy` with the suggested `Lazy.of(...)`. Original pull request #2429
This commit is contained in:
committed by
Jens Schauder
parent
8f68a75217
commit
b488c318c3
@@ -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}.
|
||||
|
||||
Reference in New Issue
Block a user