From 8739b2bd1213d06013b8b0766ab129826c95bb09 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 10 Jan 2020 15:55:45 +0100 Subject: [PATCH] [xml] Fix compile errors --- .../sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java | 2 +- .../java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java b/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java index cab0908204..aaa17c9fd3 100644 --- a/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java +++ b/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java @@ -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); } diff --git a/pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java b/pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java index d35c521d30..8faa47e547 100644 --- a/pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java +++ b/pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java @@ -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