return an empty set if no items are found

This commit is contained in:
Zlatin Balevsky
2020-03-10 12:43:49 +00:00
parent e9f00c2995
commit ed04c40420

View File

@@ -48,7 +48,7 @@ class FeedManager {
}
public Set<FeedItem> getFeedItems(Persona persona) {
feedItems.get(persona)
feedItems.getOrDefault(persona, Collections.emptySet())
}
public List<Feed> getFeedsToUpdate() {