diff options
Diffstat (limited to 'sonar-plugin-api-impl')
-rw-r--r-- | sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/utils/WorkDuration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/utils/WorkDuration.java b/sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/utils/WorkDuration.java index cd011c8a727..20b04ad35b0 100644 --- a/sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/utils/WorkDuration.java +++ b/sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/utils/WorkDuration.java @@ -110,7 +110,7 @@ public class WorkDuration implements Serializable { * For instance, 3 days and 4 hours will return 3.5 days (if hoursIndDay is 8). */ public double toWorkingDays() { - return durationInMinutes / 60d / hoursInDay; + return durationInMinutes / 60D / hoursInDay; } /** |