diff --git a/.github/workflows/bld.yml b/.github/workflows/bld.yml
index 2b0ba38..ddcc35c 100644
--- a/.github/workflows/bld.yml
+++ b/.github/workflows/bld.yml
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
- java-version: [ 17, 20 ]
+ java-version: [ 17, 19, 20 ]
steps:
- name: Checkout source repository
@@ -29,4 +29,4 @@ jobs:
run: ./bld download
- name: Run tests with bld
- run: ./bld compile test
+ run: ./bld compile test
\ No newline at end of file
diff --git a/.idea/copyright/Apache_License.xml b/.idea/copyright/Apache_License.xml
index 15687f4..206aa7d 100644
--- a/.idea/copyright/Apache_License.xml
+++ b/.idea/copyright/Apache_License.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index d573dd7..dbe3041 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,4 +1,3 @@
-
@@ -33,7 +32,6 @@
diff --git a/README.md b/README.md
index 227c784..464f7af 100755
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# [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/)
[](https://opensource.org/licenses/Apache-2.0)
diff --git a/src/bld/java/rife/bld/extension/PmdOperationBuild.java b/src/bld/java/rife/bld/extension/PmdOperationBuild.java
index 1a4080a..5473054 100644
--- a/src/bld/java/rife/bld/extension/PmdOperationBuild.java
+++ b/src/bld/java/rife/bld/extension/PmdOperationBuild.java
@@ -1,19 +1,3 @@
-/*
- * Copyright 2023 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
package rife.bld.extension;
import rife.bld.BuildCommand;
diff --git a/src/main/java/rife/bld/extension/PmdOperation.java b/src/main/java/rife/bld/extension/PmdOperation.java
index b86cd76..303bf43 100644
--- a/src/main/java/rife/bld/extension/PmdOperation.java
+++ b/src/main/java/rife/bld/extension/PmdOperation.java
@@ -1,17 +1,17 @@
/*
- * Copyright 2023 the original author or authors.
+ * Copyright 2023 the original author or authors.
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * https://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package rife.bld.extension;
@@ -26,7 +26,10 @@ import rife.bld.operations.AbstractOperation;
import java.net.URI;
import java.nio.file.Path;
import java.nio.file.Paths;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Objects;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -159,29 +162,6 @@ public class PmdOperation extends AbstractOperation {
return this;
}
- /**
- * Adds new rule set paths.
- *
- * The built-in rule set paths are:
- *
- *
{@code rulesets/java/quickstart.xml}
- *
{@code category/java/bestpractices.xml}
- *
{@code category/java/codestyle.xml}
- *
{@code category/java/design.xml}
- *
{@code category/java/documentation.xml}
- *
{@code category/java/errorprone.xml}
- *
{@code category/java/multithreading.xml}
- *
{@code category/java/performance.xml}
- *
{@code category/java/security.xml}
- *
- *
- * @see #ruleSets(Collection)
- */
- public PmdOperation addRuleSet(Collection ruleSet) {
- ruleSets.addAll(ruleSet);
- return this;
- }
-
/**
* Sets the location of the cache file for incremental analysis.
*/
@@ -441,30 +421,6 @@ public class PmdOperation extends AbstractOperation {
return this;
}
- /**
- * Sets the rule set path(s), disregarding any previously set paths.
- *
- * The built-in rule set paths are:
- *
- *
{@code rulesets/java/quickstart.xml}
- *
{@code category/java/bestpractices.xml}
- *
{@code category/java/codestyle.xml}
- *
{@code category/java/design.xml}
- *
{@code category/java/documentation.xml}
- *
{@code category/java/errorprone.xml}
- *
{@code category/java/multithreading.xml}
- *
{@code category/java/performance.xml}
- *
{@code category/java/security.xml}
- *
- *
- * @see #addRuleSet(Collection)
- */
- public PmdOperation ruleSets(Collection ruleSet) {
- ruleSets.clear();
- ruleSets.addAll(ruleSet);
- return this;
- }
-
/**
* Enables or disables adding the suppressed rule violations to the report.
*/
diff --git a/src/test/java/rife/bld/extension/PmdOperationTest.java b/src/test/java/rife/bld/extension/PmdOperationTest.java
index e9a6eac..cc61937 100644
--- a/src/test/java/rife/bld/extension/PmdOperationTest.java
+++ b/src/test/java/rife/bld/extension/PmdOperationTest.java
@@ -1,17 +1,17 @@
/*
- * Copyright 2023 the original author or authors.
+ * Copyright 2023 the original author or authors.
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * https://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package rife.bld.extension;