]> source.dussan.org Git - sonarqube.git/commitdiff
Add comment
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 14 Feb 2014 13:22:00 +0000 (14:22 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 14 Feb 2014 13:22:00 +0000 (14:22 +0100)
sonar-batch/src/main/java/org/sonar/batch/debt/IssueChangelogDebtCalculator.java

index e71edb177fc7c878f5b80e6a725b471e0b92aa66..1ce0e75482a023bc395f16fa9f93fa76ec734900 100644 (file)
@@ -78,6 +78,9 @@ public class IssueChangelogDebtCalculator implements BatchComponent {
     return null;
   }
 
+  /**
+   * SONAR-5059
+   */
   private WorkDuration subtractNeverNegative(WorkDuration workDuration, WorkDuration toSubtractWith){
     WorkDuration result = workDuration.subtract(toSubtractWith);
     if (result.toSeconds() > 0) {