Skip to content

Commit

Permalink
Suppressing an additional Spotbugs warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aneveux committed Aug 23, 2023
1 parent 1627645 commit be1fc33
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ public void stop(@NonNull Throwable cause) throws Exception {
closeQuietly(getContext(), decorator);
}

private static class ContainerExecCallback <T extends Serializable & Closeable> 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
Expand Down

0 comments on commit be1fc33

Please sign in to comment.