import static com.google.common.collect.Lists.newArrayList;
+/**
+ * @since 3.6
+ */
public class ActionService implements ServerComponent {
private final DefaultIssueFinder finder;
/**
* All the issue features that are not published to public API.
+ *
+ * @since 3.6
*/
public class InternalRubyIssueService implements ServerComponent {
import java.util.Collection;
import java.util.List;
+/**
+ * @since 3.6
+ */
public class IssueChangelogService implements ServerComponent {
private final IssueChangeDao changeDao;
import java.util.Arrays;
import java.util.Date;
+/**
+ * @since 3.6
+ */
public class IssueCommentService implements ServerComponent {
private final IssueUpdater updater;
import org.sonar.api.issue.IssueQuery;
import org.sonar.api.issue.IssueQueryResult;
+/**
+ * @since 3.7
+ */
public class IssueFilterResult {
private IssueQueryResult issueQueryResult;
import static com.google.common.collect.Lists.newArrayList;
+/**
+ * @since 3.7
+ */
public class IssueFilterService implements ServerComponent {
private final IssueFilterDao issueFilterDao;
@CheckForNull
public DefaultIssueFilter findById(Long id) {
IssueFilterDto issueFilterDto = issueFilterDao.selectById(id);
- return issueFilterDto.toIssueFilter();
+ if (issueFilterDto != null) {
+ return issueFilterDto.toIssueFilter();
+ }
+ return null;
}
public List<DefaultIssueFilter> findByUser(UserSession userSession) {
import java.util.Map;
import java.util.Set;
+/**
+ * @since 3.6
+ */
public class IssueStatsFinder implements ServerComponent {
private final IssueStatsDao issuestatsDao;
import java.util.Date;
import java.util.List;
+/**
+ * @since 3.6
+ */
class IssuesFinderSort {
private List<IssueDto> issues;
import org.sonar.core.resource.ResourceDto;
import org.sonar.core.resource.ResourceQuery;
+/**
+ * @since 3.6
+ */
public class ServerIssueStorage extends IssueStorage implements ServerComponent {
private final ResourceDao resourceDao;