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 — [java] Deprecate AbstractJavaRule#getDeclaringType(Node) by adangel · Pull Request #2066 · pmd/pmd

Conversation

@adangel

@adangel adangel commented Oct 13, 2019 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

add replacement JavaNode#getEnclosingType()

Follow-up on #2034

btw. I've also updated https://github.com/pmd/pmd/wiki/PMD-7.0.0-Java and https://github.com/pmd/pmd/wiki/Java_clean_changes

Sorry, something went wrong.

Uh oh!

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

All reactions
@adangel adangel added the is:deprecation The main focus is deprecating public APIs or rules, eg to make them internal, or removing them label Oct 13, 2019
@adangel adangel added this to the 6.19.0 milestone Oct 13, 2019
@ghost

ghost commented Oct 13, 2019 •
edited by ghost
Loading

Uh oh!

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

Copy link
Copy Markdown
1 Message
📖 This changeset introduces 0 new violations, 2 new errors and 0 new configuration errors,
removes 0 violations, 2 errors and 0 configuration errors.
Full report
✅ This changeset introduces 0 new violations, 2 new errors and 0 new configuration errors,
removes 0 violations, 2 errors and 0 configuration errors.
Full report

Generated by 🚫 Danger

All reactions

Sorry, something went wrong.

Uh oh!

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

oowekyala
oowekyala reviewed Oct 13, 2019
View reviewed changes

@oowekyala oowekyala left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we should add the new method yet, as explained in the second comment...

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/JavaNode.java Resolved

Uh oh!

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

Comment thread pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/JavaNode.java Resolved

Uh oh!

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

@adangel adangel added the is:WIP For PRs that are not fully ready, or issues that are actively being tackled label Oct 26, 2019
@adangel adangel self-assigned this Oct 26, 2019
@adangel
[java] Deprecate AbstractJavaRule#getDeclaringType(Node)
752e5f8
Refs pmd#2034
@adangel
adangel force-pushed the deprecations-from-2034 branch from a12afd1 to 752e5f8 Compare October 26, 2019 10:18
@adangel adangel removed the is:WIP For PRs that are not fully ready, or issues that are actively being tackled label Oct 26, 2019
@adangel adangel changed the title [java] Deprecate AbstractJavaRule#getDeclaringType(Node) and [java] Deprecate AbstractJavaRule#getDeclaringType(Node) Oct 26, 2019
@oowekyala

oowekyala commented Oct 29, 2019

Copy link
Copy Markdown
Member

LGTM, thanks!

All reactions

Sorry, something went wrong.

Uh oh!

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

@oowekyala
oowekyala merged commit 752e5f8 into pmd:master Oct 29, 2019
@adangel
adangel deleted the deprecations-from-2034 branch October 29, 2019 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@oowekyala oowekyala oowekyala left review comments

Uh oh!

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

Assignees

@adangel adangel

Labels

is:deprecation The main focus is deprecating public APIs or rules, eg to make them internal, or removing them

Projects

None yet

Milestone

6.19.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.