[xml] Fix compile errors

This commit is contained in:
Andreas Dangel
2020-01-10 15:55:45 +01:00
parent 511c928670
commit 8739b2bd12
2 changed files with 2 additions and 2 deletions
pmd-xml/src
main/java/net/sourceforge/pmd/lang/xml/ast/internal
test/java/net/sourceforge/pmd/lang/xml

@ -95,7 +95,7 @@ public class XmlParserImpl {
/**
* The root should implement {@link RootNode}.
*/
static class RootXmlNode extends XmlNodeWrapper implements RootNode {
public static class RootXmlNode extends XmlNodeWrapper implements RootNode {
RootXmlNode(XmlParserImpl parser, Node domNode) {
super(parser, domNode);
}

@ -7,7 +7,7 @@ package net.sourceforge.pmd.lang.xml;
import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper;
import net.sourceforge.pmd.lang.pom.PomLanguageModule;
import net.sourceforge.pmd.lang.wsdl.WsdlLanguageModule;
import net.sourceforge.pmd.lang.xml.ast.XmlParser.RootXmlNode;
import net.sourceforge.pmd.lang.xml.ast.internal.XmlParserImpl.RootXmlNode;
/**
* @author Clément Fournier