Skip to content

Commit

Permalink
Suppress false positive in SpotBugs
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Aug 14, 2021
1 parent bd98263 commit 21b4d3e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public class TimeoutStepExecution extends AbstractStepExecutionImpl {

private static final Logger LOGGER = Logger.getLogger(TimeoutStepExecution.class.getName());
private static final long GRACE_PERIOD = Main.isUnitTest ? /* 5s */5_000 : /* 1m */60_000;

@SuppressFBWarnings(value="MS_SHOULD_BE_FINAL")
public static /* not final */ boolean forceInterruption = SystemProperties.getBoolean(TimeoutStepExecution.class.getName() + ".forceInterruption");

@SuppressFBWarnings(value="SE_TRANSIENT_FIELD_NOT_RESTORED", justification="Only used when starting.")
Expand Down

0 comments on commit 21b4d3e

Please sign in to comment.