From e2a7356ccb29f4eb63a9bc408aee5894d8661827 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 1 May 2015 18:33:16 +0200 Subject: [PATCH] verify #1341 pmd:GuardDebugLogging violates LOGGER.debug with format "{}" It's a duplicate of #1224 --- .../loggingjakartacommons/xml/GuardDebugLogging.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/loggingjakartacommons/xml/GuardDebugLogging.xml b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/loggingjakartacommons/xml/GuardDebugLogging.xml index 16901b1f28..c487071648 100644 --- a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/loggingjakartacommons/xml/GuardDebugLogging.xml +++ b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/loggingjakartacommons/xml/GuardDebugLogging.xml @@ -119,6 +119,18 @@ public class Test { __log.debug("bla" + "",e ); } } +} + ]]> + + + #1341 pmd:GuardDebugLogging violates LOGGER.debug with format "{}" + 0 +