From f2a7f210d101d9384fc6593adba5b77d7012a8e1 Mon Sep 17 00:00:00 2001 From: Khamidulla Abdulkhakimov Date: Mon, 22 Jan 2024 19:23:14 +0500 Subject: [PATCH] [MODORDERS-989] - Added logger --- src/main/java/org/folio/helper/ExpectHelper.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/folio/helper/ExpectHelper.java b/src/main/java/org/folio/helper/ExpectHelper.java index 628457ef0..68a4a35d6 100644 --- a/src/main/java/org/folio/helper/ExpectHelper.java +++ b/src/main/java/org/folio/helper/ExpectHelper.java @@ -5,6 +5,8 @@ import io.vertx.core.json.JsonObject; import one.util.streamex.StreamEx; import org.apache.commons.lang3.StringUtils; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; import org.folio.rest.core.models.RequestContext; import org.folio.rest.jaxrs.model.ExpectCollection; import org.folio.rest.jaxrs.model.ExpectPiece; @@ -25,7 +27,11 @@ import static java.util.stream.Collectors.toList; public class ExpectHelper extends CheckinReceivePiecesHelper { - + private static final Logger logger = LogManager.getLogger(ExpectHelper.class); + /** + * Map with PO line id as a key and value is map with piece id as a key and + * {@link ExpectPiece} as a value + */ private final Map> expectPieces; public ExpectHelper(ExpectCollection expectCollection, Map okapiHeaders, Context ctx) {