GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [core] Remove default implementation of getXPathNodeName by adangel · Pull Request #1826 · pmd/pmd

Conversation

@adangel

@adangel adangel commented May 11, 2019

Copy link
Copy Markdown
Member
  • This PR is for PMD 7
  • It's extracted from [java] New expression and type grammar #1759

Changes:

  • Ensures that a node has it's parent, when it is added as a child.
  • Makes getXPathNodeName() abstract by removing the default implementation.

Todo:

  • The default implementation of this method issued a warning. We have it mentioned in next_major_development.md, the we will remove it (under 6.1.0). Should we add it again (under 7.0.0?) that it has been removed?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
oowekyala added 3 commits May 2, 2019 19:29
@oowekyala @adangel
Fix null parent
8dcda9e
@oowekyala @adangel
Make AbstractNode.getXPathNodeName() abstract
4ea3911
@oowekyala @adangel
Delegate text coordinates to the tokens
ef619af
@adangel adangel added this to the 7.0.0 milestone May 11, 2019
@ghost

ghost commented May 11, 2019

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adangel adangel mentioned this pull request May 13, 2019
[java] New expression and type grammar #1759
Merged
@oowekyala oowekyala mentioned this pull request May 14, 2019
pmd-lang-test: Improvement to check node position #1824
Merged
@oowekyala

oowekyala commented May 14, 2019

Copy link
Copy Markdown
Member

We have it mentioned in next_major_development.md, the we will remove it (under 6.1.0). Should we add it again (under 7.0.0?) that it has been removed?

I think it's ok to not repeat it, since it's in the javadocs too

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@oowekyala

oowekyala commented May 14, 2019

Copy link
Copy Markdown
Member

@adangel I'm going to merge #1824 and this PR together sometime this week, I think they somewhat "balance" each other because of the change to the token setters.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@oowekyala
oowekyala merged commit ef619af into pmd:pmd/7.0.x May 18, 2019
oowekyala added a commit that referenced this pull request May 18, 2019
@oowekyala
Merge branch 'pmd7-abstract-node' into 7.0.x
b56306c
From PR #1826

* This PR is for PMD 7
* It's extracted from #1759

Changes:
* Ensures that a node has it's parent, when it is added as a child.
* Makes `getXPathNodeName()` abstract by removing the default
* implementation.
@adangel
adangel deleted the pmd7-abstract-node branch May 26, 2019 10:29
@adangel adangel added the in:xpath Relating to xpath support at large, eg Jaxen / Saxon, custom functions, attribute resolution label Jan 12, 2023
@adangel adangel mentioned this pull request Jan 23, 2023
PMD 7 Tracking Issue #3898
Closed
55 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

in:xpath Relating to xpath support at large, eg Jaxen / Saxon, custom functions, attribute resolution

Projects

None yet

Milestone

7.0.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@adangel @oowekyala
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.