Skip to content

Commit

Permalink
CIRC-2051 fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-barannyk committed Apr 12, 2024
1 parent 818fd01 commit a0a634f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,18 +237,18 @@ private Result<Item> refuseIfItemIsNotFound(Item item, AllowedServicePointsReque
private CompletableFuture<Result<Map<RequestType, Set<AllowedServicePoint>>>>
extractAllowedServicePointsIgnoringItemStatus(RequestPolicy requestPolicy, Set<Item> items) {

return extractAllowedServicePoints(requestPolicy, items, true, indexName);
return extractAllowedServicePoints(requestPolicy, items, true);
}

private CompletableFuture<Result<Map<RequestType, Set<AllowedServicePoint>>>>
extractAllowedServicePointsConsideringItemStatus(RequestPolicy requestPolicy, Set<Item> items) {

return extractAllowedServicePoints(requestPolicy, items, false, indexName);
return extractAllowedServicePoints(requestPolicy, items, false);
}

private CompletableFuture<Result<Map<RequestType, Set<AllowedServicePoint>>>>
extractAllowedServicePoints(RequestPolicy requestPolicy, Set<Item> items,
boolean ignoreItemStatus, String indexName) {
boolean ignoreItemStatus) {

log.debug("extractAllowedServicePoints:: parameters requestPolicy: {}, items: {}, " +
"ignoreItemStatus: {}", requestPolicy, items, ignoreItemStatus);
Expand Down

0 comments on commit a0a634f

Please sign in to comment.