rulesets.java.logging-java.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <ruleset name="Java Logging" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"> <description> The Java Logging ruleset contains a collection of rules that find questionable usages of the logger. </description> <!-- Rules, that have been moved into a category --> <!-- <rule ref="category/java/errorprone.xml/InvalidSlf4jMessageFormat" deprecated="true" />--> <rule ref="category/java/errorprone.xml/MoreThanOneLogger" deprecated="true" /> <rule ref="category/java/bestpractices.xml/AvoidPrintStackTrace" deprecated="true" /> <!-- GuardLogStatementJavaUtil has been merged into GuardLogStatement --> <rule ref="category/java/bestpractices.xml/GuardLogStatement" name="GuardLogStatementJavaUtil" deprecated="true" /> <rule ref="category/java/bestpractices.xml/SystemPrintln" deprecated="true" /> </ruleset>