aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-02-24 17:47:35 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-02-24 17:47:45 +0100
commitfb1195fcaab56349b2886832bb41547165fc1184 (patch)
tree4711aa89e7865ed5cdd138e29732e57878f420b2 /sonar-plugin-api
parentef5534881630a51be81fc75144ba8db70f5571cb (diff)
downloadsonarqube-fb1195fcaab56349b2886832bb41547165fc1184.tar.gz
sonarqube-fb1195fcaab56349b2886832bb41547165fc1184.zip
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-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 33f808655ca..269d7cb0a87 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;