Deprecate other custom XPath rules
This commit is contained in:
@ -12,7 +12,10 @@ import net.sourceforge.pmd.lang.ecmascript.EcmascriptParserOptions.Version;
|
|||||||
import net.sourceforge.pmd.lang.rule.XPathRule;
|
import net.sourceforge.pmd.lang.rule.XPathRule;
|
||||||
import net.sourceforge.pmd.properties.PropertyDescriptor;
|
import net.sourceforge.pmd.properties.PropertyDescriptor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Parser options are deprecated, use {@link XPathRule} directly
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public class EcmascriptXPathRule extends XPathRule {
|
public class EcmascriptXPathRule extends XPathRule {
|
||||||
|
|
||||||
private static final PropertyDescriptor<Boolean> RECORDING_COMMENTS_DESCRIPTOR = EcmascriptParserOptions.RECORDING_COMMENTS_DESCRIPTOR;
|
private static final PropertyDescriptor<Boolean> RECORDING_COMMENTS_DESCRIPTOR = EcmascriptParserOptions.RECORDING_COMMENTS_DESCRIPTOR;
|
||||||
|
@ -11,6 +11,10 @@ import net.sourceforge.pmd.lang.xml.XmlLanguageModule;
|
|||||||
import net.sourceforge.pmd.lang.xml.XmlParserOptions;
|
import net.sourceforge.pmd.lang.xml.XmlParserOptions;
|
||||||
import net.sourceforge.pmd.properties.BooleanProperty;
|
import net.sourceforge.pmd.properties.BooleanProperty;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Parser options are deprecated, use {@link XPathRule} directly
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public class XmlXPathRule extends XPathRule {
|
public class XmlXPathRule extends XPathRule {
|
||||||
|
|
||||||
public static final BooleanProperty COALESCING_DESCRIPTOR = XmlParserOptions.COALESCING_DESCRIPTOR;
|
public static final BooleanProperty COALESCING_DESCRIPTOR = XmlParserOptions.COALESCING_DESCRIPTOR;
|
||||||
|
Reference in New Issue
Block a user