aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-09-10 13:04:24 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-09-10 13:04:24 +0000
commit23830d07ed51853724dc660fff187c9e5aa4b36a (patch)
tree6873e45ea9642bf45d91c4058dc1a5e54b8416c9 /sonar-batch
parent5cd839bbecd061d9463694d025788754bfca0f08 (diff)
downloadsonarqube-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.java4
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);