davsclaus commented on code in PR #23021:
URL: https://github.com/apache/camel/pull/23021#discussion_r3206798563
##########
core/camel-api/src/main/java/org/apache/camel/resume/ResumeStrategyConfiguration.java:
##########
@@ -17,21 +17,24 @@
package org.apache.camel.resume;
+import java.util.Objects;
+
import org.apache.camel.resume.cache.ResumeCache;
+import org.jspecify.annotations.Nullable;
/**
* Basic configuration holder for resume strategies
*/
public abstract class ResumeStrategyConfiguration {
- private Cacheable.FillPolicy cacheFillPolicy;
- private ResumeCache<?> resumeCache;
+ private Cacheable.@Nullable FillPolicy cacheFillPolicy;
+ private @Nullable ResumeCache<?> resumeCache;
/**
* Gets the {@link org.apache.camel.resume.Cacheable.FillPolicy} for the
cache used in the strategy
*
* @return the fill policy to use
*/
- public Cacheable.FillPolicy getCacheFillPolicy() {
+ public Cacheable.@Nullable FillPolicy getCacheFillPolicy() {
Review Comment:
here as well
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]