You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/12/29 16:21:13 UTC
(commons-exec) 07/07: Better name
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-exec.git
commit 30a07bc7ceb92e411f4ff4b2f83f80100cde8f1d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 29 11:21:02 2023 -0500
Better name
Comment empty block
---
src/main/java/org/apache/commons/exec/Watchdog.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/exec/Watchdog.java b/src/main/java/org/apache/commons/exec/Watchdog.java
index 95f4e289..92fb5988 100644
--- a/src/main/java/org/apache/commons/exec/Watchdog.java
+++ b/src/main/java/org/apache/commons/exec/Watchdog.java
@@ -86,7 +86,8 @@ public class Watchdog implements Runnable {
while (!stopped && isWaiting) {
try {
wait(timeLeftMillis);
- } catch (final InterruptedException e) {
+ } catch (final InterruptedException ignore) {
+ // ignore
}
timeLeftMillis = timeoutMillis - (System.currentTimeMillis() - startTimeMillis);
isWaiting = timeLeftMillis > 0;