diff --git a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/ContainerStepExecution.java b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/ContainerStepExecution.java index 7708fd69f2..5af3d66929 100755 --- a/src/main/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/ContainerStepExecution.java +++ b/src/main/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/ContainerStepExecution.java @@ -96,14 +96,14 @@ public void stop(@NonNull Throwable cause) throws Exception { closeQuietly(getContext(), decorator); } - private static class ContainerExecCallback extends BodyExecutionCallback.TailCall { + @SuppressFBWarnings("SE_BAD_FIELD") + private static class ContainerExecCallback extends BodyExecutionCallback.TailCall { private static final long serialVersionUID = 6385838254761750483L; - private final T[] closeables; + private final Closeable[] closeables; - @SafeVarargs - private ContainerExecCallback(T... closeables) { + private ContainerExecCallback(Closeable... closeables) { this.closeables = closeables; } @Override