diff --git a/etc/assertj-templates/soft_assertions_entry_point_class_template.txt b/etc/assertj-templates/soft_assertions_entry_point_class_template.txt index c7485e4..9142043 100644 --- a/etc/assertj-templates/soft_assertions_entry_point_class_template.txt +++ b/etc/assertj-templates/soft_assertions_entry_point_class_template.txt @@ -3,7 +3,6 @@ package ${package}; /** * Entry point for soft assertions of different data types. */ -@edu.umd.cs.findbugs.annotations.SuppressFBWarnings("NM") @javax.annotation.Generated(value="assertj-assertions-generator") public class SoftAssertions extends org.assertj.core.api.AutoCloseableSoftAssertions { ${all_assertions_entry_points} diff --git a/pom.xml b/pom.xml index 35a549d..947c1c1 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.jvnet.hudson.plugins analysis-pom - 10.6.0 + 10.11.0 diff --git a/src/main/java/io/jenkins/plugins/checks/gitea/GiteaChecksDetails.java b/src/main/java/io/jenkins/plugins/checks/gitea/GiteaChecksDetails.java index 80dee87..4e40003 100644 --- a/src/main/java/io/jenkins/plugins/checks/gitea/GiteaChecksDetails.java +++ b/src/main/java/io/jenkins/plugins/checks/gitea/GiteaChecksDetails.java @@ -62,7 +62,7 @@ public String getContextString() { * @throws IllegalArgumentException if the status of the {@code details} is not * one of {@link ChecksStatus} */ - @SuppressWarnings({"PMD.CyclomaticComplexity"}) + @SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.ExhaustiveSwitchHasDefault"}) public GiteaCommitState getStatus() { switch (details.getStatus()) { case NONE: