Skip to content

Commit

Permalink
clarify comment, rename functions for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
wetret committed Jul 3, 2024
1 parent ded0c7e commit 5d28823
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private void testRequestUrls(List<Bundle.BundleEntryComponent> searches)

private void testContainsNoPathIds(List<UriComponents> uriComponents)
{
// Resource type is only present if URI path contains a resource id
// Resource type is only present in IdType if URI path contains a resource id
List<IdType> pathsWithId = uriComponents.stream().map(UriComponents::getPath).filter(Objects::nonNull)
.map(IdType::new).filter(i -> i.getResourceType() != null).toList();

Expand Down

0 comments on commit 5d28823

Please sign in to comment.