[html] Move HtmlCpdLexer

This commit is contained in:
Andreas Dangel 2024-02-23 11:24:49 +01:00
parent ce347bd736
commit 95870ffa58
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
3 changed files with 8 additions and 2 deletions

View File

@ -330,6 +330,8 @@ in the migration guide for details.
* {%jdoc core::reporting.RuleViolation %}
* {%jdoc core::reporting.ViolationSuppressor %}
* {%jdoc core::lang.rule.xpath.XPathRule %} has been moved into subpackage {% jdoc_package core::lang.rule.xpath %}.
* pmd-html
* `net.sourceforge.pmd.lang.html.ast.HtmlCpdLexer` moved into package `cpd`: {%jdoc html::lang.html.cpd.HtmlCpdLexer %}.
**Internalized classes and interfaces and methods**

View File

@ -7,7 +7,7 @@ package net.sourceforge.pmd.lang.html;
import net.sourceforge.pmd.cpd.CpdLexer;
import net.sourceforge.pmd.lang.LanguagePropertyBundle;
import net.sourceforge.pmd.lang.LanguageRegistry;
import net.sourceforge.pmd.lang.html.ast.HtmlCpdLexer;
import net.sourceforge.pmd.lang.html.cpd.HtmlCpdLexer;
import net.sourceforge.pmd.lang.impl.SimpleLanguageModuleBase;
public final class HtmlLanguageModule extends SimpleLanguageModuleBase {

View File

@ -2,7 +2,7 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.html.ast;
package net.sourceforge.pmd.lang.html.cpd;
import java.io.IOException;
import java.io.UncheckedIOException;
@ -15,6 +15,10 @@ import net.sourceforge.pmd.lang.ast.Parser.ParserTask;
import net.sourceforge.pmd.lang.ast.SemanticErrorReporter;
import net.sourceforge.pmd.lang.document.TextDocument;
import net.sourceforge.pmd.lang.html.HtmlLanguageModule;
import net.sourceforge.pmd.lang.html.ast.ASTHtmlDocument;
import net.sourceforge.pmd.lang.html.ast.ASTHtmlTextNode;
import net.sourceforge.pmd.lang.html.ast.HtmlNode;
import net.sourceforge.pmd.lang.html.ast.HtmlParser;
/**
* <p>Note: This class has been called HtmlTokenizer in PMD 6</p>.