This is an automated email from the ASF dual-hosted git repository. henrib pushed a commit to branch JEXL-438 in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
The following commit(s) were added to refs/heads/JEXL-438 by this push: new b27127ab JEXL-438: adding @since; - updating spotbugs (java 25?); b27127ab is described below commit b27127abe7d17636ed3290f284c9f5bd581e1f30 Author: Henrib <hbies...@gmail.com> AuthorDate: Tue Apr 8 09:11:36 2025 +0200 JEXL-438: adding @since; - updating spotbugs (java 25?); --- pom.xml | 3 +++ src/main/java/org/apache/commons/jexl3/JexlBuilder.java | 2 ++ src/main/java/org/apache/commons/jexl3/parser/JexlScriptParser.java | 1 + 3 files changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index be6aa810..b9bc6dda 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,8 @@ <commons.jira.id>JEXL</commons.jira.id> <commons.jira.pid>12310479</commons.jira.pid> <japicmp.skip>false</japicmp.skip> + + <spotbugs.version>4.9.3.0</spotbugs.version> <!-- JaCoCo: Don't make code coverage worse than: --> <commons.jacoco.version>0.8.13</commons.jacoco.version> <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure> @@ -266,6 +268,7 @@ <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> + <version>${spotbugs.version}</version> <configuration> <effort>Max</effort> <threshold>High</threshold> diff --git a/src/main/java/org/apache/commons/jexl3/JexlBuilder.java b/src/main/java/org/apache/commons/jexl3/JexlBuilder.java index 864c56c4..5567108b 100644 --- a/src/main/java/org/apache/commons/jexl3/JexlBuilder.java +++ b/src/main/java/org/apache/commons/jexl3/JexlBuilder.java @@ -280,6 +280,7 @@ public class JexlBuilder { /** * Gets the Jexl script parser factory the engine will use. * @return the cache factory + * @since 3.4.1 */ public Supplier<JexlScriptParser> parserFactory() { return this.parserFactory; @@ -290,6 +291,7 @@ public class JexlBuilder { * * @param factory the function to produce a cache. * @return this builder + * @since 3.4.1 */ public JexlBuilder parserFactory(final Supplier<JexlScriptParser> factory) { this.parserFactory = factory; diff --git a/src/main/java/org/apache/commons/jexl3/parser/JexlScriptParser.java b/src/main/java/org/apache/commons/jexl3/parser/JexlScriptParser.java index 4c413755..9b443a16 100644 --- a/src/main/java/org/apache/commons/jexl3/parser/JexlScriptParser.java +++ b/src/main/java/org/apache/commons/jexl3/parser/JexlScriptParser.java @@ -23,6 +23,7 @@ import org.apache.commons.jexl3.internal.Scope; /** * The interface that produces a JEXL script AST from a source. + * @since 3.4.1 */ public interface JexlScriptParser { /**