aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-checkstyle-plugin/src/main
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-checkstyle-plugin/src/main
parentcea5b223198330fa8ee49139d12e068e60eef616 (diff)
downloadsonarqube-fe0764d0b64956a59eb3c10e491770182fe954ab.tar.gz
sonarqube-fe0764d0b64956a59eb3c10e491770182fe954ab.zip
Remove warnings about reuseExistingRulesConfiguration from checkstyle, pmd and findbugs plugins
Diffstat (limited to 'plugins/sonar-checkstyle-plugin/src/main')
-rw-r--r--plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java3
-rw-r--r--plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleSensor.java5
2 files changed, 1 insertions, 7 deletions
diff --git a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java
index 070b076271d..2d5bb15f4b4 100644
--- a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java
+++ b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java
@@ -20,9 +20,6 @@
package org.sonar.plugins.checkstyle;
import org.sonar.api.SonarPlugin;
-
-import org.sonar.api.CoreProperties;
-import org.sonar.api.Plugin;
import org.sonar.api.Properties;
import org.sonar.api.Property;
diff --git a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleSensor.java b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleSensor.java
index 32a52c47625..3b2311e0f1f 100644
--- a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleSensor.java
+++ b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstyleSensor.java
@@ -37,13 +37,10 @@ public class CheckstyleSensor implements Sensor {
public boolean shouldExecuteOnProject(Project project) {
return project.getFileSystem().hasJavaSourceFiles() &&
- (!profile.getActiveRulesByRepository(CheckstyleConstants.REPOSITORY_KEY).isEmpty() || project.getReuseExistingRulesConfig());
+ !profile.getActiveRulesByRepository(CheckstyleConstants.REPOSITORY_KEY).isEmpty();
}
public void analyse(Project project, SensorContext context) {
- if (project.getReuseExistingRulesConfig()) {
- Logs.INFO.warn("Reusing existing Checkstyle configuration is not supported any more.");
- }
executor.execute();
}