diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2018-08-08 18:05:23 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-08-21 20:21:01 +0200 |
commit | d0fd02dac9cc7ef5db1343073f4a1b6dfca79bea (patch) | |
tree | 9f86ea9a8e62c28b7a8f06493e281cfdbfa65cc3 /server/sonar-server-common/src | |
parent | d4a017262d4c7e510f9abbfe7f36b3d24b885776 (diff) | |
download | sonarqube-d0fd02dac9cc7ef5db1343073f4a1b6dfca79bea.tar.gz sonarqube-d0fd02dac9cc7ef5db1343073f4a1b6dfca79bea.zip |
SONAR-6400 Increase issues facets size
* Extract issue index tests into multiple test classes
* Increase number of entries in some issue facets
* Add ITs
Diffstat (limited to 'server/sonar-server-common/src')
2 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/issue/SearchRequest.java b/server/sonar-server-common/src/main/java/org/sonar/server/issue/SearchRequest.java index c421627ca7b..2d0566932a9 100644 --- a/server/sonar-server-common/src/main/java/org/sonar/server/issue/SearchRequest.java +++ b/server/sonar-server-common/src/main/java/org/sonar/server/issue/SearchRequest.java @@ -263,7 +263,7 @@ public class SearchRequest { return onComponentOnly; } - public SearchRequest setOnComponentOnly(Boolean onComponentOnly) { + public SearchRequest setOnComponentOnly(@Nullable Boolean onComponentOnly) { this.onComponentOnly = onComponentOnly; return this; } @@ -443,7 +443,7 @@ public class SearchRequest { return componentRootUuids; } - public SearchRequest setComponentRootUuids(List<String> componentRootUuids) { + public SearchRequest setComponentRootUuids(@Nullable List<String> componentRootUuids) { this.componentRootUuids = componentRootUuids; return this; } diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/permission/index/IndexPermissions.java b/server/sonar-server-common/src/main/java/org/sonar/server/permission/index/IndexPermissions.java index effa29bb462..f5e3aa76e5e 100644 --- a/server/sonar-server-common/src/main/java/org/sonar/server/permission/index/IndexPermissions.java +++ b/server/sonar-server-common/src/main/java/org/sonar/server/permission/index/IndexPermissions.java @@ -60,8 +60,9 @@ public final class IndexPermissions { return groupIds; } - public void allowAnyone() { + public IndexPermissions allowAnyone() { this.allowAnyone = true; + return this; } public boolean isAllowAnyone() { |