From df3a115737be44a003cff9a0289c34911cee8052 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Mon, 25 Jul 2011 17:29:06 +0400 Subject: Add method findById to UserFinder and make it available as BatchComponent --- sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sonar-batch') diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java index b33fa681063..3134c5ec39f 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchModule.java @@ -31,6 +31,7 @@ import org.sonar.batch.components.*; import org.sonar.batch.index.*; import org.sonar.core.components.CacheMetricFinder; import org.sonar.core.components.CacheRuleFinder; +import org.sonar.core.components.DefaultUserFinder; import org.sonar.core.notifications.DefaultNotificationManager; import org.sonar.jpa.dao.MeasuresDao; @@ -77,6 +78,7 @@ public class BatchModule extends Module { addComponent(PastMeasuresLoader.class); addComponent(PastSnapshotFinder.class); addComponent(DefaultNotificationManager.class); + addComponent(DefaultUserFinder.class); addCoreMetrics(); addBatchExtensions(); } -- cgit v1.2.3