Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xml] Unimplement org.w3c.dom.Node from the XmlNodeWrapper #1800

Merged
merged 3 commits into from
Sep 5, 2019

Conversation

oowekyala
Copy link
Member

This is to help extend the Node interface later on. The class' implementing both interfaces helped nothing, but would certainly have caused conflicts wrt method names and incompatible return types.

For example, adding a method Node getFirstChild() to our Node interface would have conflicted with the getFirstChild of the w3c interface, because of the return type.

This PR also removes AttributeNode, and puts the implementation classes of the xml AST in an internal package

This is to help extend the Node interface later on.
This class' implementing both interfaces helped nothing
but would certainly have caused conflicts wrt method names
and incompatible return types.

For example, adding a method `Node getFirstChild()` to our
Node interface would have conflicted with the getFirstChild of
the w3c interface.
@oowekyala oowekyala added this to the 7.0.0 milestone Apr 28, 2019
@pmd-test
Copy link

1 Warning
⚠️ Running pmdtester failed, this message is mainly used to remind the maintainers of PMD.

Generated by 🚫 Danger

@jsotuyod jsotuyod merged commit 1ae6334 into pmd:pmd/7.0.x Sep 5, 2019
@oowekyala oowekyala deleted the xml-unimplement-dom branch September 6, 2019 13:01
@adangel adangel mentioned this pull request Jan 23, 2023
55 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants