[core] Remove deprecated classes/methods
CpdLanguageProperties#DEFAULT_SKIP_BLOCKS_PATTERN BaseAntlrNode#joinTextToken Node#getNthParent Node#getFirstChildOfType
This commit is contained in:
@ -6,6 +6,7 @@ package net.sourceforge.pmd.lang.cpp;
|
||||
|
||||
import net.sourceforge.pmd.cpd.CpdLanguageProperties;
|
||||
import net.sourceforge.pmd.cpd.Tokenizer;
|
||||
import net.sourceforge.pmd.cpd.internal.CpdLanguagePropertiesDefaults;
|
||||
import net.sourceforge.pmd.lang.LanguagePropertyBundle;
|
||||
import net.sourceforge.pmd.lang.LanguageRegistry;
|
||||
import net.sourceforge.pmd.lang.cpp.cpd.CPPTokenizer;
|
||||
@ -21,7 +22,7 @@ public class CppLanguageModule extends CpdOnlyLanguageModuleBase {
|
||||
|
||||
public static final PropertyDescriptor<String> CPD_SKIP_BLOCKS =
|
||||
PropertyFactory.stringProperty("cpdSkipBlocksPattern")
|
||||
.defaultValue(CpdLanguageProperties.DEFAULT_SKIP_BLOCKS_PATTERN)
|
||||
.defaultValue(CpdLanguagePropertiesDefaults.DEFAULT_SKIP_BLOCKS_PATTERN)
|
||||
.desc("Specifies a start and end delimiter for CPD to completely ignore. "
|
||||
+ "The delimiters are separated by a pipe |. The default skips code "
|
||||
+ " that is conditionally compiled out. Set this property to empty to disable this.")
|
||||
|
Reference in New Issue
Block a user