diff options
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; } |