summaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-03 11:49:18 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-03 11:49:28 +0100
commit25ed28a254c799d17e7dd4ec55e171cd183e7ad3 (patch)
treea70865d5e7dfeb738ebf02ebb37e85c64884a2ae /sonar-batch
parent2a45eebab6c09fb25b4401449a3221c6d931a652 (diff)
downloadsonarqube-25ed28a254c799d17e7dd4ec55e171cd183e7ad3.tar.gz
sonarqube-25ed28a254c799d17e7dd4ec55e171cd183e7ad3.zip
SONAR-4996 Update work duration message and move code to i18n API
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/BootstrapContainer.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BootstrapContainer.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BootstrapContainer.java
index a30a49bfb25..da73f5f7e95 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BootstrapContainer.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BootstrapContainer.java
@@ -26,11 +26,13 @@ import org.sonar.api.platform.ComponentContainer;
import org.sonar.api.platform.PluginMetadata;
import org.sonar.api.utils.HttpDownloader;
import org.sonar.api.utils.UriReader;
+import org.sonar.api.utils.WorkDurationFactory;
import org.sonar.api.utils.internal.TempFolderCleaner;
import org.sonar.batch.components.*;
import org.sonar.core.config.Logback;
import org.sonar.core.i18n.DefaultI18n;
import org.sonar.core.i18n.RuleI18nManager;
+import org.sonar.core.i18n.WorkDurationFormatter;
import org.sonar.core.metric.CacheMetricFinder;
import org.sonar.core.persistence.*;
import org.sonar.core.purge.PurgeProfiler;
@@ -123,7 +125,10 @@ public class BootstrapContainer extends ComponentContainer {
PastSnapshotFinderByVersion.class,
PastSnapshotFinderByPreviousVersion.class,
PastMeasuresLoader.class,
- PastSnapshotFinder.class);
+ PastSnapshotFinder.class,
+ WorkDurationFormatter.class,
+ WorkDurationFactory.class
+ );
}
@Override