]> source.dussan.org Git - sonarqube.git/commitdiff
Fix JavaDocs
authorGodin <mandrikov@gmail.com>
Thu, 2 Dec 2010 18:46:14 +0000 (18:46 +0000)
committerGodin <mandrikov@gmail.com>
Thu, 2 Dec 2010 18:46:14 +0000 (18:46 +0000)
sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java

index 67333a56f50eafff8692ab55ee591ae04d6935c1..391170ce76ab78f3a07f792b65919d23bdbaad8f 100644 (file)
@@ -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() {