aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-02-24 17:49:26 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-02-24 17:49:26 +0100
commitee3bfbc166569edc39274e647beb1cd4d43d2e4a (patch)
treec337de3a9dfd5702087b717374294e304f78903b
parent17c30b568787f89138e7d201ba5b7a02f319d27a (diff)
downloadsonarqube-ee3bfbc166569edc39274e647beb1cd4d43d2e4a.tar.gz
sonarqube-ee3bfbc166569edc39274e647beb1cd4d43d2e4a.zip
Fix quality flaws
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/utils/WorkDuration.java4
1 files changed, 3 insertions, 1 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 84e9ff5d85a..a564f244e45 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
@@ -37,7 +37,9 @@ public class WorkDuration implements Serializable {
static final int HOUR_POSITION_IN_LONG = 100;
static final int MINUTE_POSITION_IN_LONG = 1;
- public static enum UNIT {DAYS, HOURS, MINUTES}
+ public static enum UNIT {
+ DAYS, HOURS, MINUTES
+ }
private int hoursInDay;