GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — [java] TooManyMethods - improve getter/setter detection (#3729) by 341816041 · Pull Request #3994 · pmd/pmd Conversation
|
Generated by 🚫 Danger |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR!
Can you have a look at your fix? I don't think it actually fixes the problem... We don't detect too many methods even for your test case, where we have 22 methods...
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I just noticed that the documentation in https://pmd.github.io/latest/pmd_rules_plsql_design.html still includes the exclusion of get/set/is methods. Could you please update it, too? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@C-Otto The file you mention is about PLSQL - the java version is updated: https://pmd.github.io/latest/pmd_rules_java_design.html#toomanymethods
That's the whole point - exclude getter/setter/methods from the TooManyMethods rule, but keep e.g. getters, that do more (that's the Please create a new issue, if you think, something is wrong. Thanks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Everything is fine, sorry for the confusion! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[java] TooManyMethods ignores "real" methods which are named like getters or setters
There was an error while loading. Please reload this page.