pvillard31 commented on code in PR #10238:
URL: https://github.com/apache/nifi/pull/10238#discussion_r2337264932
##########
nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/state/StandardStateManager.java:
##########
@@ -24,21 +24,34 @@
import org.apache.nifi.logging.ComponentLog;
import org.apache.nifi.logging.LogRepository;
import org.apache.nifi.logging.LogRepositoryFactory;
-import org.apache.nifi.processor.SimpleProcessLogger;
import org.apache.nifi.logging.StandardLoggingContext;
+import org.apache.nifi.processor.SimpleProcessLogger;
import java.io.IOException;
import java.util.Map;
+import java.util.function.Supplier;
public class StandardStateManager implements StateManager {
private final StateProvider localProvider;
private final StateProvider clusterProvider;
private final String componentId;
+ private final Supplier<Boolean> dropStateKeySupportedSupplier;
public StandardStateManager(final StateProvider localProvider, final
StateProvider clusterProvider, final String componentId) {
+ this(localProvider, clusterProvider, componentId, () -> false);
+ }
+
+ public StandardStateManager(final StateProvider localProvider, final
StateProvider clusterProvider,
Review Comment:
No longer needed, also a leftover. Removing.
--
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]