From edd7b3aaeabc3554cb9e732f0216527cb892b9d7 Mon Sep 17 00:00:00 2001 From: thomaslantern Date: Fri, 14 Aug 2026 19:07:22 -0400 Subject: [PATCH 1/2] Update ArrayStack.java corrected typo --- src/main/java/org/apache/commons/collections4/ArrayStack.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/ArrayStack.java b/src/main/java/org/apache/commons/collections4/ArrayStack.java index ac6a123090..78e612a4dd 100644 --- a/src/main/java/org/apache/commons/collections4/ArrayStack.java +++ b/src/main/java/org/apache/commons/collections4/ArrayStack.java @@ -25,8 +25,8 @@ * An implementation of the {@link Stack} API that is based on an * {@code ArrayList} instead of a {@code Vector}, so it is not * synchronized to protect against multithreaded access. The implementation - * is therefore operates faster in environments where you do not need to - * worry about multiple thread contention. + * therefore operates faster in environments where you do not need to worry + * about multiple thread contention. *

* The removal order of an {@code ArrayStack} is based on insertion * order: The most recently added element is removed first. The iteration From c2673c3e1ebc2c81201cfe49bc1264af7e8d0e82 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 14 Aug 2026 21:37:16 -0400 Subject: [PATCH 2/2] fixed extra space --- src/main/java/org/apache/commons/collections4/ArrayStack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/collections4/ArrayStack.java b/src/main/java/org/apache/commons/collections4/ArrayStack.java index 78e612a4dd..5707c069fd 100644 --- a/src/main/java/org/apache/commons/collections4/ArrayStack.java +++ b/src/main/java/org/apache/commons/collections4/ArrayStack.java @@ -25,7 +25,7 @@ * An implementation of the {@link Stack} API that is based on an * {@code ArrayList} instead of a {@code Vector}, so it is not * synchronized to protect against multithreaded access. The implementation - * therefore operates faster in environments where you do not need to worry + * therefore operates faster in environments where you do not need to worry * about multiple thread contention. *

* The removal order of an {@code ArrayStack} is based on insertion