From: simonbrandhof Date: Fri, 22 Apr 2011 08:48:25 +0000 (+0200) Subject: SONAR-2381 temporarily deactivate switch-off property from violations ws X-Git-Tag: 2.8~149 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cfae3881b8dd2d130d4a3c0971c7257e1b40565f;p=sonarqube.git SONAR-2381 temporarily deactivate switch-off property from violations ws --- 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 { 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 { 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 { appendUrlParameter(url, "rules", ruleKeys); appendUrlParameter(url, "categories", categories); appendUrlParameter(url, "priorities", severities); - appendUrlParameter(url, "switched_off", isSwitchedOff); return url.toString(); }