diff --git a/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/workflow/DefaultManagedWorkflow.java b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/workflow/DefaultManagedWorkflow.java
index 64f936c70d..017dbb74a5 100644
--- a/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/workflow/DefaultManagedWorkflow.java
+++ b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/workflow/DefaultManagedWorkflow.java
@@ -76,7 +76,7 @@ public boolean isEmpty() {
public Workflow
resolve(KubernetesClient client,
ControllerConfiguration
configuration) {
final var alreadyResolved = new HashMap(orderedSpecs.size());
- for (DependentResourceSpec spec : orderedSpecs) {
+ for (DependentResourceSpec, P, ?> spec : orderedSpecs) {
final var dependentResource = resolve(spec, client, configuration);
final var node = new DependentResourceNode(
spec.getReconcileCondition(),
diff --git a/operator-framework/src/test/java/io/javaoperatorsdk/operator/workflow/complexdependent/ComplexWorkflowIT.java b/operator-framework/src/test/java/io/javaoperatorsdk/operator/workflow/complexdependent/ComplexWorkflowIT.java
index 163abe34a7..cf7cdac004 100644
--- a/operator-framework/src/test/java/io/javaoperatorsdk/operator/workflow/complexdependent/ComplexWorkflowIT.java
+++ b/operator-framework/src/test/java/io/javaoperatorsdk/operator/workflow/complexdependent/ComplexWorkflowIT.java
@@ -4,8 +4,6 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import io.fabric8.kubernetes.api.model.ObjectMetaBuilder;
import io.fabric8.kubernetes.api.model.Service;
@@ -24,8 +22,6 @@ class ComplexWorkflowIT {
public static final String TEST_RESOURCE_NAME = "test1";
- Logger log = LoggerFactory.getLogger(ComplexWorkflowIT.class);
-
@RegisterExtension
LocallyRunOperatorExtension operator =
LocallyRunOperatorExtension.builder()