Minor cleanup
This commit is contained in:
parent
662b6b1b63
commit
137a8b1849
3 changed files with 2 additions and 3 deletions
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
|
@ -1,4 +1,3 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="EntryPointsManager">
|
<component name="EntryPointsManager">
|
||||||
<entry_points version="2.0">
|
<entry_points version="2.0">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# [Bld](https://rife2.com/bld) Extension to Perform Static Code Analysis with [PMD](https://pmd.github.io/)
|
# [Bld](https://rife2.com/bld) Extension to Perform Static Code Analysis with [PMD](https://pmd.github.io/)
|
||||||
|
|
||||||
|
|
||||||
[](http://opensource.org/licenses/BSD-3-Clause)
|
[](https://opensource.org/licenses/Apache-2.0)
|
||||||
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||||
[](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-pmd)
|
[](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-pmd)
|
||||||
[](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-pmd)
|
[](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-pmd)
|
||||||
|
|
|
@ -380,7 +380,7 @@ public class PmdOperation extends AbstractOperation<PmdOperation> {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var rules = pmd.getRulesets();
|
var rules = pmd.getRulesets();
|
||||||
if (rules.size() > 0) {
|
if (!rules.isEmpty()) {
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for (var rule : rules) {
|
for (var rule : rules) {
|
||||||
count += rule.getRules().size();
|
count += rule.getRules().size();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue