Skip to content

[java] New Performance Rule AvoidCalendarDateCreation#2576

Merged
oowekyala merged 6 commits into
pmd:masterfrom
adangel:perf-AvoidCalendarDateCreation
Jun 21, 2020
Merged

[java] New Performance Rule AvoidCalendarDateCreation#2576
oowekyala merged 6 commits into
pmd:masterfrom
adangel:perf-AvoidCalendarDateCreation

Conversation

@adangel

@adangel adangel commented Jun 13, 2020

Copy link
Copy Markdown
Member

Describe the PR

This is the rule "AvoidCalendarDateCreation" split from original PR #1932 .

Related issues

Ready?

jborgers and others added 3 commits June 13, 2020 19:39
Including unit tests and examples. Originating from github.com/jborgers/PMD-jPinpoint-rules.
Links to more doc later.
@adangel adangel added the a:new-rule Proposal to add a new built-in rule label Jun 13, 2020
@ghost

ghost commented Jun 13, 2020

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

Generated by 🚫 Danger

@adangel adangel added the is:WIP For PRs that are not fully ready, or issues that are actively being tackled label Jun 14, 2020
@adangel

adangel commented Jun 18, 2020

Copy link
Copy Markdown
Member Author

I think, this one is ready now. It still has a few false-positives (e.g. if the calendar is a field, it's also not created locally or if it is passed in and cast to Calendar). But I'd suggest to add this rule and see how the feedback is.

@adangel adangel removed the is:WIP For PRs that are not fully ready, or issues that are actively being tackled label Jun 18, 2020
@adangel adangel added this to the 6.25.0 milestone Jun 18, 2020
@oowekyala oowekyala self-assigned this Jun 18, 2020
@oowekyala oowekyala merged commit ae2b481 into pmd:master Jun 21, 2020
@adangel adangel deleted the perf-AvoidCalendarDateCreation branch June 22, 2020 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a:new-rule Proposal to add a new built-in rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants