<BUG>FeedSubscriptionCriteria feedSubscriptionCriteria = new FeedSubscriptionCriteria();feedSubscriptionCriteria.setUserId(principal.getId());feedSubscriptionCriteria.setUnread(unread);FeedSubscriptionDao feedSubscriptionDao = new FeedSubscriptionDao();</BUG><CONTEXT>public Response list(@QueryParam("unread") boolean unread) throws JSONException {if (!authenticate()) {throw new ForbiddenClientException();}<extra_id_0>List<FeedSubscriptionDto> feedSubscriptionList = feedSubscriptionDao.findByCriteria(feedSubscriptionCriteria);</CONTEXT>
FeedSubscriptionCriteria feedSubscriptionCriteria = new FeedSubscriptionCriteria().setUserId(principal.getId())FeedSubscriptionDao feedSubscriptionDao = new FeedSubscriptionDao();