Skip to content

Commit

Permalink
Polish 5b2df32
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniycheban committed Dec 10, 2024
1 parent 5706a66 commit 8f73686
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Optional;
import java.util.Spliterator;
Expand Down Expand Up @@ -60,7 +60,7 @@ public StringBasedReindexerRepositoryQuery(ReindexerQueryMethod queryMethod, Rei
this.queryMethod = queryMethod;
this.namespace = reindexer.openNamespace(entityInformation.getNamespaceName(), entityInformation.getNamespaceOptions(),
entityInformation.getJavaType());
this.namedParameters = new LinkedHashMap<>();
this.namedParameters = new HashMap<>();
for (Parameter parameter : queryMethod.getParameters()) {
if (parameter.isNamedParameter()) {
parameter.getName().ifPresent(name -> this.namedParameters.put(name, parameter.getIndex()));
Expand Down

0 comments on commit 8f73686

Please sign in to comment.