From 9d913fe6213e4f6a734df5d9224bbff3ef62cc1d Mon Sep 17 00:00:00 2001 From: Hamza Jugon <104994559+HamzaJugon@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:35:52 +0000 Subject: [PATCH] Update MetadataResponseConverter.java --- .../beekeeper/api/response/MetadataResponseConverter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/MetadataResponseConverter.java b/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/MetadataResponseConverter.java index 58b671f2..d03c0d6c 100644 --- a/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/MetadataResponseConverter.java +++ b/beekeeper-api/src/main/java/com/expediagroup/beekeeper/api/response/MetadataResponseConverter.java @@ -42,8 +42,6 @@ public static Page convertToHousekeepingMetadataRe HousekeepingMetadataResponse housekeepingMetadataResponse = convertToHousekeepingMetadataResponse(housekeepingMetadata); housekeepingMetadataResponseList.add(housekeepingMetadataResponse); } - //Create a new PageImpl object using the HousekeepingMetadataResponse list, the Pageable - // object from the HousekeepingMetadataPage object, and the total number of elements from the HousekeepingMetadataPage object. PageImpl housekeepingMetadataResponses = new PageImpl<>( housekeepingMetadataResponseList, housekeepingMetadataPage.getPageable(), housekeepingMetadataPage.getTotalElements()); return housekeepingMetadataResponses;