summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-12-02 18:46:14 +0000
committerGodin <mandrikov@gmail.com>2010-12-02 18:46:14 +0000
commit8d3f2ba7e35795517fefbafb8867b4ca2c326fbe (patch)
treeb56e714c44e2800300eedd6ea438b80878949186 /sonar-plugin-api
parenta8391cfc44991b0e8c0e1794daa41880d4bf0701 (diff)
downloadsonarqube-8d3f2ba7e35795517fefbafb8867b4ca2c326fbe.tar.gz
sonarqube-8d3f2ba7e35795517fefbafb8867b4ca2c326fbe.zip
Fix JavaDocs
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java7
1 files changed, 5 insertions, 2 deletions
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 <code>setCost()</code>
+ * @see #setCost(Double)
* @since 2.4
*/
public Double getCost() {