3334353637383940414243
FeedEntry entry = feedEntryDAO.findById(entryId); if (entry == null) { return; } FeedSubscription sub = feedSubscriptionDAO.findByFeed(user, entry.getFeed()); if (sub == null) { return; } FeedEntryStatus status = feedEntryStatusDAO.getStatus(user, sub, entry);
4950515253545556575859
} } public void starEntry(User user, Long entryId, Long subscriptionId, boolean starred) { FeedSubscription sub = feedSubscriptionDAO.findById(user, subscriptionId); if (sub == null) { return; } FeedEntry entry = feedEntryDAO.findById(entryId);