aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-pmd-plugin
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-04-14 20:05:11 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-04-15 11:56:27 +0400
commitfe0764d0b64956a59eb3c10e491770182fe954ab (patch)
tree900628ed280d590a123d625d9ce376acd29e1a18 /plugins/sonar-pmd-plugin
parentcea5b223198330fa8ee49139d12e068e60eef616 (diff)
downloadsonarqube-fe0764d0b64956a59eb3c10e491770182fe954ab.tar.gz
sonarqube-fe0764d0b64956a59eb3c10e491770182fe954ab.zip
Remove warnings about reuseExistingRulesConfiguration from checkstyle, pmd and findbugs plugins
Diffstat (limited to 'plugins/sonar-pmd-plugin')
-rw-r--r--plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdSensor.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdSensor.java b/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdSensor.java
index 62d11cc7639..079be40e4f3 100644
--- a/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdSensor.java
+++ b/plugins/sonar-pmd-plugin/src/main/java/org/sonar/plugins/pmd/PmdSensor.java
@@ -42,9 +42,6 @@ public class PmdSensor implements Sensor {
}
public void analyse(Project project, SensorContext context) {
- if (project.getReuseExistingRulesConfig()) {
- Logs.INFO.warn("Reusing existing PMD configuration is not supported any more.");
- }
try {
File xmlReport = executor.execute();
getStaxParser(project, context).parse(xmlReport);
@@ -57,7 +54,7 @@ public class PmdSensor implements Sensor {
public boolean shouldExecuteOnProject(Project project) {
return project.getFileSystem().hasJavaSourceFiles() &&
- (!profile.getActiveRulesByRepository(PmdConstants.REPOSITORY_KEY).isEmpty() || project.getReuseExistingRulesConfig());
+ !profile.getActiveRulesByRepository(PmdConstants.REPOSITORY_KEY).isEmpty();
}
private PmdViolationsXmlParser getStaxParser(Project project, SensorContext context) {