diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-06-17 19:20:13 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-06-17 20:46:57 +0200 |
commit | c0e82d3ac6b1ceae1053b7139f608d86e90faf32 (patch) | |
tree | 313245ea5b7959abf920fab1f72e56a083cc53e1 /sonar-batch/src/main/java/org/sonar | |
parent | 183b104dadd5b350d4d00a1ef2336094755e5f4f (diff) | |
download | sonarqube-c0e82d3ac6b1ceae1053b7139f608d86e90faf32.tar.gz sonarqube-c0e82d3ac6b1ceae1053b7139f608d86e90faf32.zip |
Remove ability to get users from batch
+ drop Hibernate model "User"
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java | 2 | ||||
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/scan/ProjectScanContainer.java | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java index b2280f7bcb8..9c50b4d76ae 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalContainer.java @@ -60,7 +60,6 @@ import org.sonar.core.platform.PluginLoader; import org.sonar.core.platform.PluginRepository; import org.sonar.core.purge.PurgeProfiler; import org.sonar.core.rule.CacheRuleFinder; -import org.sonar.core.user.HibernateUserFinder; import org.sonar.core.util.DefaultHttpDownloader; import org.sonar.jpa.dao.MeasuresDao; import org.sonar.jpa.session.DefaultDatabaseConnector; @@ -148,7 +147,6 @@ public class GlobalContainer extends ComponentContainer { EmailSettings.class, RuleI18nManager.class, MeasuresDao.class, - HibernateUserFinder.class, PastSnapshotFinderByDate.class, PastSnapshotFinderByDays.class, PastSnapshotFinderByPreviousAnalysis.class, diff --git a/sonar-batch/src/main/java/org/sonar/batch/scan/ProjectScanContainer.java b/sonar-batch/src/main/java/org/sonar/batch/scan/ProjectScanContainer.java index 0cb92aa0994..017b4b67b91 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/scan/ProjectScanContainer.java +++ b/sonar-batch/src/main/java/org/sonar/batch/scan/ProjectScanContainer.java @@ -81,7 +81,6 @@ import org.sonar.core.issue.workflow.IssueWorkflow; import org.sonar.core.permission.PermissionFacade; import org.sonar.core.platform.ComponentContainer; import org.sonar.core.technicaldebt.DefaultTechnicalDebtModel; -import org.sonar.core.user.DefaultUserFinder; public class ProjectScanContainer extends ComponentContainer { @@ -208,9 +207,6 @@ public class ProjectScanContainer extends ComponentContainer { add( PastMeasuresLoader.class, - // Users - DefaultUserFinder.class, - // Rules new RulesProvider(), new DebtModelProvider(), |