From 744fea736683685d28095dbcfe30b33277a7a7e1 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 5 Oct 2019 14:53:24 +0200 Subject: [PATCH] [doc] Update rule descriptions for supported logging frameworks --- pmd-java/src/main/resources/category/java/errorprone.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pmd-java/src/main/resources/category/java/errorprone.xml b/pmd-java/src/main/resources/category/java/errorprone.xml index 5dc4f6127b..ae156f63a3 100644 --- a/pmd-java/src/main/resources/category/java/errorprone.xml +++ b/pmd-java/src/main/resources/category/java/errorprone.xml @@ -2063,7 +2063,7 @@ Class c = String.class; class="net.sourceforge.pmd.lang.java.rule.errorprone.InvalidSlf4jMessageFormatRule" externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_errorprone.html#invalidslf4jmessageformat"> -Check for messages in slf4j and log4j2 loggers with non matching number of arguments and placeholders. +Check for messages in slf4j and log4j2 (since 6.19.0) loggers with non matching number of arguments and placeholders. 5 @@ -2476,7 +2476,8 @@ public class Foo { class="net.sourceforge.pmd.lang.java.rule.errorprone.MoreThanOneLoggerRule" externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_errorprone.html#morethanonelogger"> -Normally only one logger is used in each class. +Normally only one logger is used in each class. This rule supports slf4j, log4j, Java Util Logging and +log4j2 (since 6.19.0). 2