Skip to content

Commit

Permalink
Changes Immutable List to Mutable List (#10620)
Browse files Browse the repository at this point in the history
* Changes Immutable List to Mutable List

* Remove Type Specifications
  • Loading branch information
JREastonMarks authored Feb 13, 2024
1 parent 7a6ece7 commit 9354afc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ public List<SampleIdentifier> apply(StudyViewFilter studyViewFilter, boolean neg
sampleIdentifiers = sampleService.fetchSamples(studyIds, sampleIds, Projection.ID.name()).stream()
.map(sampleToSampleIdentifier).toList();
} else {
sampleIdentifiers = sampleService.getAllSamplesInStudies(studyViewFilter.getStudyIds(), Projection.ID.name(),
null, null, null, null).stream().map(sampleToSampleIdentifier).toList();
sampleIdentifiers = sampleService.getAllSamplesInStudies(studyViewFilter.getStudyIds(), Projection.ID.name(),
null, null, null, null).stream().map(sampleToSampleIdentifier).collect(Collectors.toList());
}

List<String> studyIds = sampleIdentifiers.stream().map(SampleIdentifier::getStudyId).distinct()
Expand Down

0 comments on commit 9354afc

Please sign in to comment.