diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-10-19 22:17:23 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-10-24 12:35:56 +0400 |
commit | 1e1186f78e87d614db5a6f8860c9bfcbbb07a127 (patch) | |
tree | 2a9d2596ee281f0dddfedaada342a36927edf738 /sonar-batch | |
parent | df62fc28559228713caf3382183556d4c41e5647 (diff) | |
download | sonarqube-1e1186f78e87d614db5a6f8860c9bfcbbb07a127.tar.gz sonarqube-1e1186f78e87d614db5a6f8860c9bfcbbb07a127.zip |
Fix violations
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/phases/InitializersExecutor.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/phases/InitializersExecutor.java b/sonar-batch/src/main/java/org/sonar/batch/phases/InitializersExecutor.java index 50b0d975170..14cf9eee5a4 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/phases/InitializersExecutor.java +++ b/sonar-batch/src/main/java/org/sonar/batch/phases/InitializersExecutor.java @@ -35,7 +35,7 @@ import java.util.Collection; public class InitializersExecutor { - private static final Logger logger = LoggerFactory.getLogger(SensorsExecutor.class); + private static final Logger LOG = LoggerFactory.getLogger(SensorsExecutor.class); private MavenPluginExecutor mavenExecutor; @@ -52,14 +52,14 @@ public class InitializersExecutor { public void execute() { Collection<Initializer> initializers = selector.select(Initializer.class, project, true); - if (logger.isDebugEnabled()) { - logger.debug("Initializers : {}", StringUtils.join(initializers, " -> ")); + if (LOG.isDebugEnabled()) { + LOG.debug("Initializers : {}", StringUtils.join(initializers, " -> ")); } for (Initializer initializer : initializers) { executeMavenPlugin(initializer); - TimeProfiler profiler = new TimeProfiler(logger).start("Initializer " + initializer); + TimeProfiler profiler = new TimeProfiler(LOG).start("Initializer " + initializer); initializer.execute(project); profiler.stop(); } @@ -69,7 +69,7 @@ public class InitializersExecutor { if (sensor instanceof DependsUponMavenPlugin) { MavenPluginHandler handler = ((DependsUponMavenPlugin) sensor).getMavenPluginHandler(project); if (handler != null) { - TimeProfiler profiler = new TimeProfiler(logger).start("Execute maven plugin " + handler.getArtifactId()); + TimeProfiler profiler = new TimeProfiler(LOG).start("Execute maven plugin " + handler.getArtifactId()); mavenExecutor.execute(project, projectDef, handler); profiler.stop(); } |