Affects PMD Version: 6.12
Rule: UseTryWithResources
Description: We have a custom close method that we use closeLocalResources that can take in multiple parameters to close them. PMD is not flagging this as an issue when there are multiple parameters however it does successfully flag the issue when there is only 1 parameter in this custom close method.
Code Sample demonstrating the issue:
closeLocalResources(ps, rs); is not flagged while
closeLocalResources(ps); is flagged
Running PMD through: [Ant]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4