aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java/org
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-04-22 10:48:25 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-04-22 10:48:25 +0200
commitcfae3881b8dd2d130d4a3c0971c7257e1b40565f (patch)
treef16c27cf809338c87990a5743c4ed3792fc33a06 /sonar-ws-client/src/main/java/org
parent89a316ece8d0309596579dfb510c210fc022bc00 (diff)
downloadsonarqube-cfae3881b8dd2d130d4a3c0971c7257e1b40565f.tar.gz
sonarqube-cfae3881b8dd2d130d4a3c0971c7257e1b40565f.zip
SONAR-2381 temporarily deactivate switch-off property from violations ws
Diffstat (limited to 'sonar-ws-client/src/main/java/org')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/services/ViolationQuery.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ViolationQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ViolationQuery.java
index 06a75f94c9e..d75e2b64808 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ViolationQuery.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/ViolationQuery.java
@@ -31,7 +31,6 @@ public class ViolationQuery extends Query<Violation> {
private String[] categories;
private String[] severities;
private Integer limit;
- private boolean isSwitchedOff;
public ViolationQuery(String resourceKeyOrId) {
this.resourceKeyOrId = resourceKeyOrId;
@@ -129,21 +128,6 @@ public class ViolationQuery extends Query<Violation> {
return this;
}
- /**
- * @since 2.8
- */
- public ViolationQuery setSwitchedOff(boolean ignore) {
- this.isSwitchedOff = ignore;
- return this;
- }
-
- /**
- * @since 2.8
- */
- public boolean isSwitchedOff() {
- return isSwitchedOff;
- }
-
@Override
public String getUrl() {
StringBuilder url = new StringBuilder(BASE_URL);
@@ -158,7 +142,6 @@ public class ViolationQuery extends Query<Violation> {
appendUrlParameter(url, "rules", ruleKeys);
appendUrlParameter(url, "categories", categories);
appendUrlParameter(url, "priorities", severities);
- appendUrlParameter(url, "switched_off", isSwitchedOff);
return url.toString();
}