avoid an extra database roundtrip

This commit is contained in:
Athou
2013-04-14 18:12:35 +02:00
parent 874d7a4c07
commit 6217f236fa
2 changed files with 2 additions and 4 deletions

View File

@@ -106,8 +106,7 @@ public class FeedRefreshWorker {
transaction.begin();
if (fetchedFeed != null) {
feedUpdateService.updateEntries(feed.getUrl(),
fetchedFeed.getEntries());
feedUpdateService.updateEntries(feed, fetchedFeed.getEntries());
if (feed.getLink() == null) {
feed.setLink(fetchedFeed.getLink());
}