aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2012-04-16 20:12:14 +0200
committerEric Hartmann <hartmann.eric@gmail.com>2012-04-16 20:12:14 +0200
commitbb543651438f4a8a7551764f990c362fd17fa945 (patch)
treea51a7f5dd13cd4ff86e26462eb766ff61cf40018 /sonar-ws-client
parent589f41e3bc33f23fa0a40be54110bbc877c0b7c4 (diff)
parentb18d8090f7a48aaa6e7b4b5f272b14546016c7ae (diff)
downloadsonarqube-bb543651438f4a8a7551764f990c362fd17fa945.tar.gz
sonarqube-bb543651438f4a8a7551764f990c362fd17fa945.zip
Merge branch 'release-3.0'
Diffstat (limited to 'sonar-ws-client')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewQuery.java10
-rw-r--r--sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java2
2 files changed, 6 insertions, 6 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewQuery.java
index 81d3cc850b0..9a18384f9b9 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewQuery.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewQuery.java
@@ -165,7 +165,7 @@ public class ReviewQuery extends Query<Review> {
}
/**
- * @deprecated since 2.15. Searching by user ID is not possible anymore. Use {@link #getAuthorLogins()} instead.
+ * @deprecated since 3.0. Searching by user ID is not possible anymore. Use {@link #getAuthorLogins()} instead.
*/
@Deprecated
public String[] getAuthorLoginsOrIds() {
@@ -173,7 +173,7 @@ public class ReviewQuery extends Query<Review> {
}
/**
- * @deprecated since 2.15. Searching by user ID is not possible anymore. Use {@link #setAuthorLogins(String...)} instead.
+ * @deprecated since 3.0. Searching by user ID is not possible anymore. Use {@link #setAuthorLogins(String...)} instead.
*/
@Deprecated
public ReviewQuery setAuthorLoginsOrIds(String... authorLoginsOrIds) {
@@ -198,7 +198,7 @@ public class ReviewQuery extends Query<Review> {
}
/**
- * @deprecated since 2.15. Searching by user ID is not possible anymore. Use {@link #getAssigneeLogins()} instead.
+ * @deprecated since 3.0. Searching by user ID is not possible anymore. Use {@link #getAssigneeLogins()} instead.
*/
@Deprecated
public String[] getAssigneeLoginsOrIds() {
@@ -206,7 +206,7 @@ public class ReviewQuery extends Query<Review> {
}
/**
- * @deprecated since 2.15. Searching by user ID is not possible anymore. Use {@link #setAssigneeLogins(String...)} instead.
+ * @deprecated since 3.0. Searching by user ID is not possible anymore. Use {@link #setAssigneeLogins(String...)} instead.
*/
@Deprecated
public ReviewQuery setAssigneeLoginsOrIds(String... assigneeLoginsOrIds) {
@@ -267,7 +267,7 @@ public class ReviewQuery extends Query<Review> {
StringBuilder url = new StringBuilder(BASE_URL);
url.append('?');
if (id != null) {
- appendUrlParameter(url, "id", id);
+ appendUrlParameter(url, "ids", id);
} else if (ids != null) {
appendUrlParameter(url, "ids", ids);
}
diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java
index 5632b29c79a..0186f0ec468 100644
--- a/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java
+++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java
@@ -39,7 +39,7 @@ public class ReviewQueryTest extends QueryTestCase {
@Test
public void queryById() {
- assertThat(new ReviewQuery().setId(13L).getUrl(), is("/api/reviews?id=13&"));
+ assertThat(new ReviewQuery().setId(13L).getUrl(), is("/api/reviews?ids=13&"));
assertThat(new ReviewQuery().setIds(10L, 11L).getUrl(), is("/api/reviews?ids=10,11&"));
}