diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-02-15 23:32:14 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-02-19 12:02:10 +0100 |
commit | 7cf57c2495bd16c2e7056c0ff47fc962a8ff432f (patch) | |
tree | a4a0124029e70fbcc45d00429da495d0058b7a49 /sonar-deprecated | |
parent | 6658f59ae96921016438eeeab136a4eb4e5703af (diff) | |
download | sonarqube-7cf57c2495bd16c2e7056c0ff47fc962a8ff432f.tar.gz sonarqube-7cf57c2495bd16c2e7056c0ff47fc962a8ff432f.zip |
SONAR-5700 New logging API to remove coupling on SLF4J
Diffstat (limited to 'sonar-deprecated')
-rw-r--r-- | sonar-deprecated/src/main/java/org/sonar/api/rules/AnnotationRuleParser.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-deprecated/src/main/java/org/sonar/api/rules/AnnotationRuleParser.java b/sonar-deprecated/src/main/java/org/sonar/api/rules/AnnotationRuleParser.java index acf870597af..6a458a3ba72 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/rules/AnnotationRuleParser.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/rules/AnnotationRuleParser.java @@ -25,13 +25,13 @@ import com.google.common.base.Functions; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import org.apache.commons.lang.StringUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.sonar.api.PropertyType; import org.sonar.api.ServerComponent; import org.sonar.api.utils.AnnotationUtils; import org.sonar.api.utils.FieldUtils2; import org.sonar.api.utils.SonarException; +import org.sonar.api.utils.log.Logger; +import org.sonar.api.utils.log.Loggers; import java.lang.reflect.Field; import java.util.Collection; @@ -44,7 +44,7 @@ import java.util.List; @Deprecated public final class AnnotationRuleParser implements ServerComponent { - private static final Logger LOG = LoggerFactory.getLogger(AnnotationRuleParser.class); + private static final Logger LOG = Loggers.get(AnnotationRuleParser.class); public List<Rule> parse(String repositoryKey, Collection<Class> annotatedClasses) { List<Rule> rules = Lists.newArrayList(); |