aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-05-05 17:19:26 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-05-05 17:19:26 +0200
commit8ee5ce3071082e0fb26f8984bcaa8f5bdb7877d7 (patch)
tree0b98281692ee6e044f90d9ad6e26f90aaeb47e9e /sonar-ws-client
parent1f63c2d10bed4f4505242eedd9ea4d8e7cf155c2 (diff)
downloadsonarqube-8ee5ce3071082e0fb26f8984bcaa8f5bdb7877d7.tar.gz
sonarqube-8ee5ce3071082e0fb26f8984bcaa8f5bdb7877d7.zip
Improve the web services 'violations' and 'reviews'
SONAR-2249 always use unix newline (LF) in violation messages SONAR-2382 always use unix newlines (LF) in review comments (plain output) SONAR-2382 use upper-case constants for output parameter SONAR-2382 replace the XML node <user> by <author>
Diffstat (limited to 'sonar-ws-client')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewQuery.java6
1 files changed, 3 insertions, 3 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 5914e4d3de1..dda32f50a08 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
@@ -26,6 +26,9 @@ public class ReviewQuery extends Query<Review> {
public static final String BASE_URL = "/api/reviews";
+ public static final String OUTPUT_PLAIN = "PLAIN";
+ public static final String OUTPUT_HTML = "HTML";
+
private String reviewType;
private Long id;
private Long[] ids;
@@ -195,9 +198,6 @@ public class ReviewQuery extends Query<Review> {
return output;
}
- /**
- * @param output the output to set
- */
public ReviewQuery setOutput(String output) {
this.output = output;
return this;