Deprecate other custom XPath rules

This commit is contained in:
Clément Fournier
2020-04-28 20:41:49 +02:00
parent 190addc1a9
commit 151a56cfa0
2 changed files with 8 additions and 1 deletions

View File

@@ -11,6 +11,10 @@ import net.sourceforge.pmd.lang.xml.XmlLanguageModule;
import net.sourceforge.pmd.lang.xml.XmlParserOptions;
import net.sourceforge.pmd.properties.BooleanProperty;
/**
* @deprecated Parser options are deprecated, use {@link XPathRule} directly
*/
@Deprecated
public class XmlXPathRule extends XPathRule {
public static final BooleanProperty COALESCING_DESCRIPTOR = XmlParserOptions.COALESCING_DESCRIPTOR;