diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2021-09-23 11:16:04 -0500 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-09-24 20:03:10 +0000 |
commit | 215f8403a6c4a131b9592457fd95a280274237de (patch) | |
tree | 9412c0030b97b4e40563a882ababea60189270c6 /sonar-plugin-api-impl | |
parent | 5377194709960576b1367a220c6ba20ce6f41ef0 (diff) | |
download | sonarqube-215f8403a6c4a131b9592457fd95a280274237de.tar.gz sonarqube-215f8403a6c4a131b9592457fd95a280274237de.zip |
Fix code quality issues
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; } /** |