From 8d3f2ba7e35795517fefbafb8867b4ca2c326fbe Mon Sep 17 00:00:00 2001 From: Godin Date: Thu, 2 Dec 2010 18:46:14 +0000 Subject: Fix JavaDocs --- sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sonar-plugin-api') diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java index 67333a56f50..391170ce76a 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java @@ -104,12 +104,15 @@ public class Violation { return this; } + /** + * @see #setLineId(Integer) + */ public Integer getLineId() { return lineId; } /** - * Sets the violation line + * Sets the violation line. Note that numbering starts from 1. * * @return the current object */ @@ -131,7 +134,7 @@ public class Violation { } /** - * @see setCost() + * @see #setCost(Double) * @since 2.4 */ public Double getCost() { -- cgit v1.2.3