From e15f419b0c86047b1c689e6bb64b7beba180e4e0 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Tue, 5 Mar 2013 21:37:56 +0000 Subject: [PATCH] Mark ArrayStack as deprecated, can not remove as we still target 1.5 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1453021 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/collections/ArrayStack.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/apache/commons/collections/ArrayStack.java b/src/main/java/org/apache/commons/collections/ArrayStack.java index d243a16a9..f35be110e 100644 --- a/src/main/java/org/apache/commons/collections/ArrayStack.java +++ b/src/main/java/org/apache/commons/collections/ArrayStack.java @@ -37,7 +37,9 @@ import java.util.EmptyStackException; * @see java.util.Stack * @since 1.0 * @version $Id$ + * @deprecated use {@link java.util.ArrayDeque} instead (available from Java 1.6) */ +@Deprecated public class ArrayStack extends ArrayList implements Buffer { /** Ensure serialization compatibility */