Affects PMD Version: 6.34.0
Description:
The documentation for the rule SingletonClassReturningNewInstance begins with "Some classes contain overloaded getInstance...".
This does not make sense in this context. It is an exact copy of the description from SingleMethodSingleton, so it appears to be a copy-paste issue.
Suggested description:
"A singleton class should only ever have one instance. Failure to check whether an instance has already been created may result in multiple instances"
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