diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-10 13:04:24 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-10 13:04:24 +0000 |
commit | 23830d07ed51853724dc660fff187c9e5aa4b36a (patch) | |
tree | 6873e45ea9642bf45d91c4058dc1a5e54b8416c9 /sonar-batch | |
parent | 5cd839bbecd061d9463694d025788754bfca0f08 (diff) | |
download | sonarqube-23830d07ed51853724dc660fff187c9e5aa4b36a.tar.gz sonarqube-23830d07ed51853724dc660fff187c9e5aa4b36a.zip |
* rename RuleProvider to RuleFinder
* deprecate some classes in the rule API
* add the parameter ValidationMessages to ProfileDefinition.createPrototype()
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/ProjectBatch.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/ProjectBatch.java b/sonar-batch/src/main/java/org/sonar/batch/ProjectBatch.java index 2f0894a2c61..48509f15dc5 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/ProjectBatch.java +++ b/sonar-batch/src/main/java/org/sonar/batch/ProjectBatch.java @@ -34,7 +34,7 @@ import org.sonar.api.rules.DefaultRulesManager; import org.sonar.api.utils.IocContainer; import org.sonar.batch.indexer.DefaultSonarIndex; import org.sonar.core.qualitymodel.DefaultModelProvider; -import org.sonar.core.rule.DefaultRuleProvider; +import org.sonar.core.rule.DefaultRuleFinder; import org.sonar.jpa.dao.*; public class ProjectBatch { @@ -89,7 +89,7 @@ public class ProjectBatch { batchContainer.as(Characteristics.CACHE).addComponent(ViolationFilters.class); batchContainer.as(Characteristics.CACHE).addComponent(ResourceFilters.class); batchContainer.as(Characteristics.CACHE).addComponent(DefaultModelProvider.class); - batchContainer.as(Characteristics.CACHE).addComponent(DefaultRuleProvider.class); + batchContainer.as(Characteristics.CACHE).addComponent(DefaultRuleFinder.class); batchContainer.addAdapter(new ProfileProvider()); batchContainer.addAdapter(new CheckProfileProvider()); loadCoreComponents(batchContainer); |