View Javadoc
1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.lang.java.rule.logging;
5   
6   import java.util.HashMap;
7   
8   public class GuardDebugLoggingRule extends GuardLogStatementRule {
9   
10  	public GuardDebugLoggingRule() {
11  		super.guardStmtByLogLevel = new HashMap<>(1);
12  		super.guardStmtByLogLevel.put(".debug","isDebugEnabled");
13  	}
14  	
15  	@Override
16  	protected void extractProperties() {
17  		// This rule is not configurable
18  	}
19  
20  }