diff --git a/src/main/java/dev/snowdrop/factory/tekton/TektonProvider.java b/src/main/java/dev/snowdrop/factory/tekton/TektonProvider.java index 364cfdb..618730c 100644 --- a/src/main/java/dev/snowdrop/factory/tekton/TektonProvider.java +++ b/src/main/java/dev/snowdrop/factory/tekton/TektonProvider.java @@ -34,9 +34,8 @@ public class TektonProvider implements Provider { @Override public HasMetadata buildResource(Configurator cfg, String tektonResourceType) { TYPE = Type.valueOf(cfg.getType().toUpperCase()); - @SuppressWarnings("unchecked") - PipelineTask aTask; + PipelineTask aTask; List actions = cfg.getJob().getActions(); List tasks = new ArrayList<>(); List finallyTasks = new ArrayList<>();