This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

Resolve "Die Statistiken sollten auch in ElasticSearch hinterlegt werden."

Compare and Show latest version
2 files
+ 25
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -13,6 +13,7 @@ import at.ac.uibk.gitsearch.web.rest.errors.BadRequestAlertException;
import java.time.Instant;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors;
@@ -259,6 +260,6 @@ public class UserWatchListService {
.entrySet()
.stream()
.filter(entry -> entry.getValue().getCheckFrequency().ordinal() <= checkFrequency.ordinal())
.collect(Collectors.toMap(x -> x.getKey(), x -> x.getValue()));
.collect(Collectors.toMap(Entry::getKey, Entry::getValue));
}
}