]> source.dussan.org Git - sonarqube.git/commitdiff
small javadoc improvement on Period.getIndex()
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 3 Jul 2015 09:55:10 +0000 (11:55 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 9 Jul 2015 07:24:48 +0000 (09:24 +0200)
server/sonar-server/src/main/java/org/sonar/server/computation/period/Period.java

index eb6b5613b9918d72c10c804bf3436cc4d4d6d3a1..dc4fdf1d8de6ec73d8e21540cfeca3c329a7de24 100644 (file)
@@ -52,6 +52,9 @@ public class Period {
     return i > 0 && i < 6;
   }
 
+  /**
+   * Index of periods is 1-based. It goes from 1 to 5.
+   */
   public int getIndex() {
     return index;
   }