[all] Deprecations for #2706 and #2661#2720
Conversation
|
Thanks for taking this on! I think it's ok to deprecate the java visitor, I wouldn't expect it to be used widely outside of here anyway. Usages are easy to port, maybe, that's already done on the PMD 7 branch if the class was already deleted |
Generated by 🚫 Danger |
|
FYI - I've deprecated now also JavaParserVisitorReducedAdapter. I've milestoned this PR to 6.27.0, but it does not necessarily done - could wait for 6.28.0 |
|
I think it's better to merge it soon, as it looks ready. #2714 will also cause some conflicts with #2706. I think it would be best for #2706 to be merged asap. The merge order would be
When all of that is in 7.0.x, the merge into java grammar merge is going to be a pain. But at least we only have to do it once. I already think, I should not have merged #2714 into java-grammar on its own. I'm going to do this today. |
Describe the PR
This adds the deprecations for pmd6:
Note: We have JavaParserVisitorReducedAdapter on pmd6 but deleted it already on pmd7. But it is not deprecated on master: https://github.com/pmd/pmd/blob/master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/JavaParserVisitorReducedAdapter.java
Should we deprecate it as well? We have some usages in the code base...
Related issues
Ready?
./mvnw clean verifypasses (checked automatically by travis)