diff --git a/cffu-ttl-executor-wrapper/src/main/java/io/foldright/cffu/ttl/CffuTtlExecutorWrapperProvider.java b/cffu-ttl-executor-wrapper/src/main/java/io/foldright/cffu/ttl/CffuTtlExecutorWrapperProvider.java
index 23b05511..a2110e54 100644
--- a/cffu-ttl-executor-wrapper/src/main/java/io/foldright/cffu/ttl/CffuTtlExecutorWrapperProvider.java
+++ b/cffu-ttl-executor-wrapper/src/main/java/io/foldright/cffu/ttl/CffuTtlExecutorWrapperProvider.java
@@ -2,6 +2,7 @@
import com.alibaba.ttl.threadpool.TtlExecutors;
import edu.umd.cs.findbugs.annotations.NonNull;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.foldright.cffu.spi.ExecutorWrapperProvider;
import java.util.concurrent.Executor;
@@ -20,6 +21,7 @@ public class CffuTtlExecutorWrapperProvider implements ExecutorWrapperProvider {
*/
@NonNull
@Override
+ @SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
public Executor wrap(@NonNull Executor executor) {
return TtlExecutors.getTtlExecutor(requireNonNull(executor, "executor is null"));
}
diff --git a/pom.xml b/pom.xml
index 1a532ec4..1bb7e627 100644
--- a/pom.xml
+++ b/pom.xml
@@ -458,7 +458,7 @@
com.github.spotbugs
spotbugs-maven-plugin
- 4.8.3.1
+ 4.8.4.0
org.jacoco
@@ -544,6 +544,9 @@
${maven.compiler.source}
+
+ io.foldright:cffu*
+
@@ -553,7 +556,7 @@
org.codehaus.mojo
extra-enforcer-rules
- 1.7.0
+ 1.8.0