Skip to content

Fixing issue 693: Avoid simple caches#702

Merged
stokpop merged 3 commits intojborgers:pmd7from
MohammedGhallab:pmd7
Apr 16, 2026
Merged

Fixing issue 693: Avoid simple caches#702
stokpop merged 3 commits intojborgers:pmd7from
MohammedGhallab:pmd7

Conversation

@MohammedGhallab
Copy link
Copy Markdown
Contributor

Revert "fix(rules): reduce false positives in AvoidCalendarDateCreation"

and fixing issue 693

- Updated XPath to allow Calendar.getInstance() usage in main methods.
- Refined detection logic to focus on inefficient heavyweight object creation.
- Resolved conflict with UnresolvedType property descriptors.
- Closes jborgers#693
@stokpop stokpop linked an issue Apr 7, 2026 that may be closed by this pull request
@stokpop stokpop changed the title Fixing issue 693 Fixing issue 693: Avoid simple caches Apr 7, 2026
@stokpop
Copy link
Copy Markdown
Collaborator

stokpop commented Apr 7, 2026

@MohammedGhallab thanks for your PR! We will review it.

@stokpop stokpop requested review from jborgers and stokpop April 7, 2026 08:59
Copy link
Copy Markdown
Collaborator

@stokpop stokpop left a comment

Choose a reason for hiding this comment

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

Sorry for the delay. Looks good to me. One request.

Comment thread src/main/resources/category/java/spring.xml
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Owner

@jborgers jborgers left a comment

Choose a reason for hiding this comment

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

Looking good, thanks for the contribution!

@stokpop stokpop self-requested a review April 16, 2026 13:27
Copy link
Copy Markdown
Collaborator

@stokpop stokpop left a comment

Choose a reason for hiding this comment

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

Thanks!

@stokpop stokpop merged commit 8029a72 into jborgers:pmd7 Apr 16, 2026
2 checks passed
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.

Fix Request: AvoidSimpleCaches

3 participants