forked from phoedos/pmd
Henning Schmiedehausen
957afd6625
Fix NPE with empty rulesets.
This is the fix for bug #1155 (https://sourceforge.net/p/pmd/bugs/1155/) The whole code is in dire need of revisiting its behaviour when a value is null or empty. Same goes for e.g. createRules whether it should return null values (then the caller will have to deal with it) or empty Rulesets. Catching and discarding the rule not found exception looks pretty suspicious.
…
…
…
PMD
PMD is a source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth.
For more information, visit http://pmd.sourceforge.net
To see the current status of this repo, visit https://buildhive.cloudbees.com/job/pmd/
Description
Languages
Java
75.5%
Apex
9.7%
Kotlin
9.1%
ANTLR
2.7%
PLSQL
1%
Other
1.8%