Skip to content

Commit

Permalink
review comment incorporated
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-ebi committed Mar 20, 2024
1 parent 6988429 commit 5f2f724
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static ContiguousIdBlock getUnreservedContiguousIdBlock(String categoryId
return block;
}

public static List<ContiguousIdBlock> getAllBlocksInDB(ContiguousIdBlockRepository repository, String categoryId) {
public static List<ContiguousIdBlock> getAllBlocksInDB(ContiguousIdBlockRepository repository) {
return StreamSupport.stream(repository.findAll().spliterator(), false)
.sorted(Comparator.comparing(ContiguousIdBlock::getFirstValue))
.collect(Collectors.toList());
Expand Down

0 comments on commit 5f2f724

Please sign in to comment.