diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-10-11 11:35:32 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-10-11 11:35:32 +0200 |
commit | f1a1da830bf72b890786da3c8de23fe7c36d2440 (patch) | |
tree | ceddd74d76891b0e6af1eba1eaae71786f08efac /sonar-squid | |
parent | 4fe55966cfa022ae8b9dc3f0ca7ead7d74bc7251 (diff) | |
download | sonarqube-f1a1da830bf72b890786da3c8de23fe7c36d2440.tar.gz sonarqube-f1a1da830bf72b890786da3c8de23fe7c36d2440.zip |
SONAR-2875 Fix backward-compatibility
Diffstat (limited to 'sonar-squid')
-rw-r--r-- | sonar-squid/src/main/java/org/sonar/squid/api/CheckMessage.java | 8 |
1 files changed, 8 insertions, 0 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 a1a22bbb781..7fd41a638f3 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 @@ -41,6 +41,14 @@ public class CheckMessage implements Message { this.messageArguments = messageArguments; } + /** + * @deprecated replaced by the other constructor since 2.12. See SONAR-2875. + */ + @Deprecated + public CheckMessage(CodeCheck checker, String message, Object... messageArguments) { + this((Object)checker, message, messageArguments); + } + public void setSourceCode(SourceCode sourceCode) { this.sourceCode = sourceCode; } |