From 597e9b5f8716bc0c1b5de4e9f334a57c0425625c Mon Sep 17 00:00:00 2001 From: Godin Date: Tue, 23 Nov 2010 15:50:19 +0000 Subject: [PATCH] Minor fix --- .../java/org/sonar/java/ast/check/UndocumentedApiCheck.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/ast/check/UndocumentedApiCheck.java b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/ast/check/UndocumentedApiCheck.java index a14d42a382f..221725b4786 100644 --- a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/ast/check/UndocumentedApiCheck.java +++ b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/ast/check/UndocumentedApiCheck.java @@ -60,7 +60,7 @@ public class UndocumentedApiCheck extends JavaAstCheck { if (WildcardPattern.match(getPatterns(), sourceClass.getKey())) { if (PublicApiVisitor.isPublicApi(ast) && !PublicApiVisitor.isDocumentedApi(ast, getFileContents())) { SourceFile sourceFile = currentResource.getParent(SourceFile.class); - CheckMessage message = new CheckMessage(this, "Avoid undocumented API"); + CheckMessage message = new CheckMessage(this, "Avoid undocumented API."); message.setLine(ast.getLineNo()); sourceFile.log(message); } -- 2.39.5