Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 73861 invoked from network); 28 Jan 2004 17:11:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Jan 2004 17:11:07 -0000 Received: (qmail 36389 invoked by uid 500); 28 Jan 2004 17:10:29 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 36303 invoked by uid 500); 28 Jan 2004 17:10:29 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 36191 invoked from network); 28 Jan 2004 17:10:28 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 28 Jan 2004 17:10:28 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AltCv-0007un-00 for ; Wed, 28 Jan 2004 18:10:29 +0100 Received: from p5081759F.dip.t-dialin.net ([80.129.117.159]) by news.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed Jan 28 17:10:29 2004 X-Injected-Via-Gmane: http://gmane.org/ To: commons-dev@jakarta.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AlrC3-0006Ie-00 for ; Wed, 28 Jan 2004 16:01:27 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AlrC3-0004hf-00 for ; Wed, 28 Jan 2004 16:01:27 +0100 From: Joerg Schmuecker Subject: [collections] Testing of lists Date: Wed, 28 Jan 2004 15:01:27 +0000 (UTC) Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 80.129.117.159 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23 [en]) Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I just tried to use the AbstractTestList and found that testListAddByIndex adds one more element than getFullElements().length. Is this behaviour intended? It could be a problem for fixed sized lists. Another problem I saw is that the documentation of List in the JDK 1.4.2 states that a List can refuse an element. The documentation of some lists in the collections framework states the opposite. Kind regards, Joerg Schmuecker --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org