summaryrefslogtreecommitdiffstats
path: root/server/sonar-ws-client
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-11-28 17:29:46 +0100
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-11-28 17:29:46 +0100
commit4253a180020a37877574d6c27e2e42311a428d62 (patch)
tree7196f60480d82a1124dc4c9d2b01dbffd056776e /server/sonar-ws-client
parent58dd4353773af1c010facbcc05c17cd1cac5b9be (diff)
downloadsonarqube-4253a180020a37877574d6c27e2e42311a428d62.tar.gz
sonarqube-4253a180020a37877574d6c27e2e42311a428d62.zip
Revert "SONAR-5742 Add ignorePaging parameter handle to WS client (for IT)"
This reverts commit 58dd4353773af1c010facbcc05c17cd1cac5b9be.
Diffstat (limited to 'server/sonar-ws-client')
-rw-r--r--server/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java9
-rw-r--r--server/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueQueryTest.java6
2 files changed, 2 insertions, 13 deletions
diff --git a/server/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java b/server/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java
index a5d1817b570..304fee715b9 100644
--- a/server/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java
+++ b/server/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/IssueQuery.java
@@ -151,15 +151,6 @@ public class IssueQuery {
return this;
}
- /**
- * Only valid with one component, do not use in the general case
- * @since 5.0
- */
- public IssueQuery ignorePaging(boolean ignorePaging) {
- params.put("ignorePaging", ignorePaging);
- return this;
- }
-
private IssueQuery addParam(String key, String[] values) {
if (values != null) {
params.put(key, EncodingUtils.toQueryParam(values));
diff --git a/server/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueQueryTest.java b/server/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueQueryTest.java
index ae1aadd3704..c4d0e209d14 100644
--- a/server/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueQueryTest.java
+++ b/server/sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueQueryTest.java
@@ -59,10 +59,9 @@ public class IssueQueryTest {
.sort("ASSIGNEE")
.asc(false)
.pageSize(5)
- .pageIndex(4)
- .ignorePaging(true);
+ .pageIndex(4);
- assertThat(query.urlParams()).hasSize(23);
+ assertThat(query.urlParams()).hasSize(22);
assertThat(query.urlParams()).includes(entry("issues", "ABCDE,FGHIJ"));
assertThat(query.urlParams()).includes(entry("assignees", "arthur,perceval"));
assertThat(query.urlParams()).includes(entry("assigned", true));
@@ -85,7 +84,6 @@ public class IssueQueryTest {
assertThat(query.urlParams()).includes(entry("asc", false));
assertThat(query.urlParams()).includes(entry("pageSize", 5));
assertThat(query.urlParams()).includes(entry("pageIndex", 4));
- assertThat(query.urlParams()).includes(entry("ignorePaging", true));
}
@Test