index for entry lookup

This commit is contained in:
Athou
2013-07-27 17:22:31 +02:00
parent 6d396e1982
commit 223c2f464e
3 changed files with 18 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ public class FeedUpdateService {
*/
public void updateEntry(Feed feed, FeedEntry entry, List<FeedSubscription> subscriptions) {
FeedEntry existing = feedEntryDAO.findExisting(entry.getGuid(), entry.getUrl(), feed.getId());
Long existing = feedEntryDAO.findExisting(entry.getGuid(), feed.getId());
if (existing != null) {
return;
}