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] Fixed 3468 UnusedPrivateMethod false positive when outer class calls private static method on inner class by johnra2 · Pull Request #3683 · pmd/pmd

Conversation

@johnra2

@johnra2 johnra2 commented Dec 10, 2021 •
edited by adangel
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor
  • Fixes [java] UnusedPrivateMethod false positive when outer class calls private static method on inner class #3468
  • Fixes [java] UnusedPrivateMethod false positive with static method and cast expression #3209

Sorry, something went wrong.

Uh oh!

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

All reactions
@johnra2
Fixed 3468 unused private method call on inner class
8df5768
@ghost

ghost commented Dec 10, 2021 •
edited by ghost
Loading

Uh oh!

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

Copy link
Copy Markdown
1 Message
📖 This changeset changes 0 violations,
introduces 6 new violations, 0 new errors and 0 new configuration errors,
removes 30 violations, 0 errors and 0 configuration errors.
Full report
✅ This changeset changes 92 violations,
introduces 35 new violations, 0 new errors and 0 new configuration errors,
removes 35 violations, 0 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.

@adangel adangel self-assigned this Dec 16, 2021
@adangel adangel added this to the 6.42.0 milestone Dec 16, 2021
adangel
adangel reviewed Dec 16, 2021
View reviewed changes
Comment thread pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/ClassScope.java Resolved

Uh oh!

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

adangel added 2 commits December 16, 2021 20:30
@adangel
[java] Improve symboltable for inner classes
2f95d99
@adangel
Merge branch 'master' into pr-3683
a72c9f6
@adangel adangel mentioned this pull request Dec 17, 2021
[java] UnusedPrivateMethod false positive with static method and cast expression #3209
Closed
@adangel adangel changed the title Fixed 3468 UnusedPrivateMethod false positive when outer class calls private static method on inner class [java] Fixed 3468 UnusedPrivateMethod false positive when outer class calls private static method on inner class Dec 17, 2021
adangel added a commit to adangel/pmd that referenced this pull request Dec 17, 2021
@adangel
[doc] Update release notes (pmd#3209, pmd#3468, pmd#3683)
9d16215
adangel added a commit that referenced this pull request Dec 17, 2021
@adangel
Merge pull request #3683 from johnra2:3468-upm-inner-class
14303f2
[java] Fixed 3468 UnusedPrivateMethod false positive when outer class calls private static method on inner class #3683

* pr-3683:
  [doc] Update release notes (#3209, #3468, #3683)
  [java] UnusedPrivateMethod: Add test case for #3209
  [java] Improve symboltable for inner classes
  Fixed 3468 unused private method call on inner class
@adangel
adangel merged commit a72c9f6 into pmd:master Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adangel adangel adangel left review comments

Uh oh!

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

Assignees

@adangel adangel

Labels

None yet

Projects

None yet

Milestone

6.42.0

Development

Successfully merging this pull request may close these issues.

[java] UnusedPrivateMethod false positive when outer class calls private static method on inner class [java] UnusedPrivateMethod false positive with static method and cast expression

Uh oh!

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

2 participants

@johnra2 @adangel
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.