From a0a634fcfdab890b033f7294669dbc86f2bd2b9d Mon Sep 17 00:00:00 2001 From: Roman_Barannyk Date: Fri, 12 Apr 2024 17:37:22 +0300 Subject: [PATCH] CIRC-2051 fix code smell --- .../circulation/services/AllowedServicePointsService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/folio/circulation/services/AllowedServicePointsService.java b/src/main/java/org/folio/circulation/services/AllowedServicePointsService.java index cd04e5f17d..cd59a6d6ea 100644 --- a/src/main/java/org/folio/circulation/services/AllowedServicePointsService.java +++ b/src/main/java/org/folio/circulation/services/AllowedServicePointsService.java @@ -237,18 +237,18 @@ private Result refuseIfItemIsNotFound(Item item, AllowedServicePointsReque private CompletableFuture>>> extractAllowedServicePointsIgnoringItemStatus(RequestPolicy requestPolicy, Set items) { - return extractAllowedServicePoints(requestPolicy, items, true, indexName); + return extractAllowedServicePoints(requestPolicy, items, true); } private CompletableFuture>>> extractAllowedServicePointsConsideringItemStatus(RequestPolicy requestPolicy, Set items) { - return extractAllowedServicePoints(requestPolicy, items, false, indexName); + return extractAllowedServicePoints(requestPolicy, items, false); } private CompletableFuture>>> extractAllowedServicePoints(RequestPolicy requestPolicy, Set items, - boolean ignoreItemStatus, String indexName) { + boolean ignoreItemStatus) { log.debug("extractAllowedServicePoints:: parameters requestPolicy: {}, items: {}, " + "ignoreItemStatus: {}", requestPolicy, items, ignoreItemStatus);