Not null group response

This commit is contained in:
BuildTools committed 2020-12-01 17:21:54 +01:00
1 parent c2c82b75ba
commit 7e45da1306
2 files changed
+4 -5

No files matched your search

@@ -64,9 +64,6 @@ public class GroupService {
public HashMap<Long, Integer> getTakenPlaces(List<Groups> groups) {
HashMap<Long, Integer> response = new HashMap<>();
// List<Object[]> respoonses = this.repo.getAssignedAmounts(
// groups.stream().filter(Objects::nonNull).map(Groups::getId).collect(Collectors.toList()));
List<Object[]> respoonses = this.repo
.getAssignedAmounts(groups.stream().filter(Objects::nonNull).map(new Function<Groups, Long>() {
@Override