diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2014-02-13 11:46:11 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2014-02-13 11:46:11 +0100 |
commit | 3f99ae14192e0cddf06c87a913ccdf69b3c7ba58 (patch) | |
tree | fbf88bb02e8bafdebc3bc9ce2e8ac087f5973715 /sonar-plugin-api/src | |
parent | 1b423fddea159655701ba669523464a9ef86f917 (diff) | |
download | sonarqube-3f99ae14192e0cddf06c87a913ccdf69b3c7ba58.tar.gz sonarqube-3f99ae14192e0cddf06c87a913ccdf69b3c7ba58.zip |
Little improvements of technical debt
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/utils/WorkDuration.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/WorkDuration.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/WorkDuration.java index e5d38b5a1d2..30e2e6c8187 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/WorkDuration.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/WorkDuration.java @@ -20,11 +20,11 @@ package org.sonar.api.utils; +import com.google.common.annotations.VisibleForTesting; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import javax.annotation.Nullable; - import java.io.Serializable; /** @@ -164,7 +164,8 @@ public class WorkDuration implements Serializable { return minutes; } - public int hoursInDay() { + @VisibleForTesting + int hoursInDay() { return hoursInDay; } |