Skip to content

Commit

Permalink
Suppress new warnings from spotbugs-4.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ao-apps committed Oct 16, 2023
1 parent 09778db commit 1df879d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions book/Jenkinsfile
Expand Up @@ -43,6 +43,7 @@ def upstreamProjects = [
'../core/taglib', // <groupId>com.semanticcms</groupId><artifactId>semanticcms-core-taglib</artifactId>
'../section/taglib', // <groupId>com.semanticcms</groupId><artifactId>semanticcms-section-taglib</artifactId>
'../tag-reference', // <groupId>com.semanticcms</groupId><artifactId>semanticcms-tag-reference</artifactId>
// No Jenkins: <groupId>com.github.spotbugs</groupId><artifactId>spotbugs-annotations</artifactId>
// No Jenkins: <groupId>org.apache.taglibs</groupId><artifactId>taglibs-standard-spec</artifactId>

// Runtime Direct
Expand Down
7 changes: 7 additions & 0 deletions book/pom.xml
Expand Up @@ -248,6 +248,9 @@ along with semanticcms-file-taglib. If not, see <https://www.gnu.org/licenses/>
<dependency>
<groupId>com.semanticcms</groupId><artifactId>semanticcms-tag-reference</artifactId><version>2.0.0-SNAPSHOT<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId><artifactId>spotbugs-annotations</artifactId><version>4.8.0</version>
</dependency>
<!-- javaee-web-api-bom: <groupId>org.apache.taglibs</groupId><artifactId>taglibs-standard-spec</artifactId> -->
<!-- Transitive -->
<dependency>
Expand Down Expand Up @@ -418,6 +421,10 @@ along with semanticcms-file-taglib. If not, see <https://www.gnu.org/licenses/>
<dependency>
<groupId>com.semanticcms</groupId><artifactId>semanticcms-tag-reference</artifactId>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId><artifactId>spotbugs-annotations</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.taglibs</groupId><artifactId>taglibs-standard-spec</artifactId>
</dependency>
Expand Down
@@ -1,6 +1,6 @@
/*
* semanticcms-file-taglib - Files nested within SemanticCMS pages and elements in a JSP environment.
* Copyright (C) 2016, 2017, 2019, 2020, 2021, 2022 AO Industries, Inc.
* Copyright (C) 2016, 2017, 2019, 2020, 2021, 2022, 2023 AO Industries, Inc.
* support@aoindustries.com
* 7262 Bull Pen Cir
* Mobile, AL 36695
Expand Down Expand Up @@ -29,6 +29,7 @@
import com.semanticcms.core.model.BookRef;
import com.semanticcms.core.model.ResourceRef;
import com.semanticcms.tagreference.TagReferenceInitializer;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import javax.servlet.ServletContainerInitializer;

/**
Expand All @@ -39,6 +40,7 @@ public class SemanticCmsFileTldInitializer extends TagReferenceInitializer {
/**
* Parses the TLD file.
*/
@SuppressFBWarnings("CT_CONSTRUCTOR_THROW")
public SemanticCmsFileTldInitializer() throws ValidationException {
super(
Maven.properties.getProperty("documented.name") + " Reference",
Expand Down
3 changes: 2 additions & 1 deletion book/src/main/java/module-info.java
@@ -1,6 +1,6 @@
/*
* semanticcms-file-taglib - Files nested within SemanticCMS pages and elements in a JSP environment.
* Copyright (C) 2021, 2022 AO Industries, Inc.
* Copyright (C) 2021, 2022, 2023 AO Industries, Inc.
* support@aoindustries.com
* 7262 Bull Pen Cir
* Mobile, AL 36695
Expand Down Expand Up @@ -36,5 +36,6 @@
requires com.semanticcms.core.taglib; // <groupId>com.semanticcms</groupId><artifactId>semanticcms-core-taglib</artifactId>
requires com.semanticcms.section.taglib; // <groupId>com.semanticcms</groupId><artifactId>semanticcms-section-taglib</artifactId>
requires com.semanticcms.tagreference; // <groupId>com.semanticcms</groupId><artifactId>semanticcms-tag-reference</artifactId>
requires static com.github.spotbugs.annotations; // <groupId>com.github.spotbugs</groupId><artifactId>spotbugs-annotations</artifactId>
requires taglibs.standard.spec; // <groupId>org.apache.taglibs</groupId><artifactId>taglibs-standard-spec</artifactId>
}

0 comments on commit 1df879d

Please sign in to comment.