aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-common/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2018-08-08 18:05:23 +0200
committerSonarTech <sonartech@sonarsource.com>2018-08-21 20:21:01 +0200
commitd0fd02dac9cc7ef5db1343073f4a1b6dfca79bea (patch)
tree9f86ea9a8e62c28b7a8f06493e281cfdbfa65cc3 /server/sonar-server-common/src
parentd4a017262d4c7e510f9abbfe7f36b3d24b885776 (diff)
downloadsonarqube-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')
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/issue/SearchRequest.java4
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/permission/index/IndexPermissions.java3
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() {