diff options
author | Godin <mandrikov@gmail.com> | 2010-11-29 15:58:35 +0000 |
---|---|---|
committer | Godin <mandrikov@gmail.com> | 2010-11-29 15:58:35 +0000 |
commit | 3d5765bd4b52b9a5cf1f4f244823c0b307b0dade (patch) | |
tree | 1b806b9a144d0ee2a3229843ce024b25fe42eb74 /sonar-squid | |
parent | f8ab1ee2e5a459e37da0f2f811b4cd920f124b23 (diff) | |
download | sonarqube-3d5765bd4b52b9a5cf1f4f244823c0b307b0dade.tar.gz sonarqube-3d5765bd4b52b9a5cf1f4f244823c0b307b0dade.zip |
Instead of 'force' use more meaningful name 'bypassExclusionMechanism' in CheckMessage
Diffstat (limited to 'sonar-squid')
-rw-r--r-- | sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java b/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java index 1c56f8a4fb9..4fa3952c348 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java +++ b/sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java @@ -33,7 +33,7 @@ public class CheckMessage implements Message { private CodeCheck codeCheck; private String defaultMessage; private Object[] messageArguments; - private Boolean forced; + private Boolean bypassExclusionMechanism; public CheckMessage(CodeCheck rule, String message, Object... messageArguments) { this.codeCheck = rule; @@ -65,12 +65,12 @@ public class CheckMessage implements Message { return cost; } - public void setForced(boolean forced) { - this.forced = forced; + public void setBypassExclusionMechanism(boolean forced) { + this.bypassExclusionMechanism = forced; } - public boolean isForced() { - return forced == null ? false : forced; + public boolean isBypassExclusionMechanism() { + return bypassExclusionMechanism == null ? false : bypassExclusionMechanism; } public CodeCheck getChecker() { |