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 e92733a95b589ece815f44e0d02f8969d0816215 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sat May 24 10:39:52 2025 -0400 Replace org.apache.commons.exec.ShutdownHookProcessDestroyer.processes from Vector to ArrayList --- .../java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java b/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java index 63fd00c1..2f4c7d07 100644 --- a/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java +++ b/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java @@ -19,8 +19,8 @@ package org.apache.commons.exec; +import java.util.ArrayList; import java.util.List; -import java.util.Vector; import java.util.concurrent.atomic.AtomicBoolean; /** @@ -52,7 +52,7 @@ public class ShutdownHookProcessDestroyer implements ProcessDestroyer, Runnable } /** The list of currently running processes. */ - private final List<Process> processes = new Vector<>(); + private final List<Process> processes = new ArrayList<>(); /** The thread registered at the JVM to execute the shutdown handler. */ private ProcessDestroyerThread destroyProcessThread;