return entities.contains(entity);
}
private void deleteFeedIfNecessary(IBookMark mark) {
Query query = fDb.query();
query.constrain(Feed.class);
query.descend("fLinkText").constrain(mark.getFeedLinkReference().getLink().toString()); //$NON-NLS-1$
@SuppressWarnings("unchecked")
List<IFeed> feeds = query.execute();
for (IFeed feed : feeds) {
FeedLinkReference feedRef = new FeedLinkReference(feed.getLink());
if (DBHelper.countBookMarkReference(fDb, feedRef) == 1) {
if (DBHelper.feedHasNewsWithCopies(fDb, feedRef)) {
List<INews> newsList = new ArrayList<INews>(feed.getNews());