From fcc6a73886d830f6750c5c3760bd4a754b2069d0 Mon Sep 17 00:00:00 2001 From: Hamza Jugon <104994559+HamzaJugon@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:32:15 +0000 Subject: [PATCH] Update beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/PathResponseConverter.java Co-authored-by: Abhimanyu Gupta --- .../beekeeper/api/response/PathResponseConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/PathResponseConverter.java b/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/PathResponseConverter.java index d71c80d6..abec93ca 100644 --- a/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/PathResponseConverter.java +++ b/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/PathResponseConverter.java @@ -56,7 +56,7 @@ public static Page convertToHousekeepingPathResponsePa HousekeepingPathResponse housekeepingPathResponse = convertToHousekeepingPathResponse(housekeepingPath); housekeepingPathResponseList.add(housekeepingPathResponse); } - PageImpl HousekeepingPathResponses = new PageImpl<>( + PageImpl housekeepingPathResponses = new PageImpl<>( housekeepingPathResponseList, housekeepingPathPage.getPageable(), housekeepingPathPage.getTotalElements()); return HousekeepingPathResponses; }