Skip to content

Commit

Permalink
Update MetadataResponseConverter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaJugon authored Nov 9, 2023
1 parent fcc6a73 commit 9d913fe
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ public static Page<HousekeepingMetadataResponse> convertToHousekeepingMetadataRe
HousekeepingMetadataResponse housekeepingMetadataResponse = convertToHousekeepingMetadataResponse(housekeepingMetadata);
housekeepingMetadataResponseList.add(housekeepingMetadataResponse);
}
//Create a new PageImpl<HousekeepingMetadataResponse> object using the HousekeepingMetadataResponse list, the Pageable
// object from the HousekeepingMetadataPage object, and the total number of elements from the HousekeepingMetadataPage object.
PageImpl<HousekeepingMetadataResponse> housekeepingMetadataResponses = new PageImpl<>(
housekeepingMetadataResponseList, housekeepingMetadataPage.getPageable(), housekeepingMetadataPage.getTotalElements());
return housekeepingMetadataResponses;
Expand Down

0 comments on commit 9d913fe

Please sign in to comment.