[ad_1]
if (controls != null && !controls.isEmpty()) {
// take the list and create a map grouped by the rowIds in the list. This is done in case there are
// multiple rows with same label.
Map<Long, List<TaskListOutOfComplianceView>> mappedControlValues =
controls.stream().collect(Collectors.groupingBy(TaskListOutOfComplianceView::getRowId));
I need to get the map created on that line when I’m spying the method, the Map is used internally
[ad_2]