[core] Move classes into n.s.pmd.reporting

- Report
- RuleContext
- RuleViolation
- ViolationSuppressor
- ParametricRuleViolation

Fixes #3903
This commit is contained in:
Andreas Dangel
2024-01-18 20:27:34 +01:00
parent 83522e96ef
commit f13cd58c7f
169 changed files with 287 additions and 283 deletions

View File

@ -6,7 +6,6 @@ package net.sourceforge.pmd.lang.xml.rule;
import java.util.Objects;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.lang.LanguageProcessor;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.rule.AbstractRule;
@ -14,6 +13,7 @@ import net.sourceforge.pmd.lang.rule.XPathRule;
import net.sourceforge.pmd.lang.xml.ast.internal.XmlParserImpl.RootXmlNode;
import net.sourceforge.pmd.properties.PropertyDescriptor;
import net.sourceforge.pmd.properties.PropertyFactory;
import net.sourceforge.pmd.reporting.RuleContext;
/**
* XPath rule that executes an expression on the DOM directly, and not

View File

@ -8,10 +8,10 @@ import static net.sourceforge.pmd.lang.ast.test.TestUtilsKt.assertSize;
import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.Report;
import net.sourceforge.pmd.Rule;
import net.sourceforge.pmd.lang.document.FileId;
import net.sourceforge.pmd.lang.xml.XmlParsingHelper;
import net.sourceforge.pmd.reporting.Report;
class XmlXPathRuleTest {