Skip to content

Commit

Permalink
Issue 355: Fix Checkstyle violations
Browse files Browse the repository at this point in the history
  • Loading branch information
marklassau committed Sep 7, 2023
1 parent 2237372 commit a48df06
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public class ProcessHandler<T> {
private Stopper stopper = null;
private List<String> arguments = Collections.emptyList();

@SuppressWarnings("checkstyle:MagicNumber") // 10,000ms is the default timeout
private static volatile int executorTimeoutMillis = 10_000;
private static final Logger LOGGER = LoggerFactory.getLogger(ProcessHandler.class);

Expand Down Expand Up @@ -274,7 +275,7 @@ public void run() {
*
* @param executorTimeoutMillis the new timeout value
*/
public static void setExecutorTimeoutMillis(int executorTimeoutMillis) {
public static void setExecutorTimeoutMillis(final int executorTimeoutMillis) {
ProcessHandler.executorTimeoutMillis = executorTimeoutMillis;
}

Expand Down

0 comments on commit a48df06

Please sign in to comment.