diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-10-18 10:51:04 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-10-18 17:01:46 +0200 |
commit | 93410000b4c8b70eb4c16cbc193fa9640f6e73b0 (patch) | |
tree | e5e30521834940d0649e69982de8fa5fc12874c4 /sonar-ws | |
parent | 0b6399084ba07c59a96d4a1d1e2cef253c768041 (diff) | |
download | sonarqube-93410000b4c8b70eb4c16cbc193fa9640f6e73b0.tar.gz sonarqube-93410000b4c8b70eb4c16cbc193fa9640f6e73b0.zip |
SONAR-8287 Refactor project measures index and WS domain
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchProjectsRequest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchProjectsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchProjectsRequest.java index c8ba9187cb5..b4f0d23f6e1 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchProjectsRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/SearchProjectsRequest.java @@ -83,6 +83,9 @@ public class SearchProjectsRequest { if (pageSize == null) { pageSize = DEFAULT_PAGE_SIZE; } + if (filter == null) { + filter = ""; + } checkArgument(pageSize <= MAX_PAGE_SIZE, "Page size must not be greater than %s", MAX_PAGE_SIZE); |