Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 35551 invoked from network); 20 Feb 2003 22:59:19 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 20 Feb 2003 22:59:19 -0000 Received: (qmail 18806 invoked by uid 97); 20 Feb 2003 23:00:57 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 18799 invoked from network); 20 Feb 2003 23:00:57 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 20 Feb 2003 23:00:57 -0000 Received: (qmail 35323 invoked by uid 500); 20 Feb 2003 22:59:17 -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 35312 invoked from network); 20 Feb 2003 22:59:16 -0000 Received: from unknown (HELO mta2.adelphia.net) (64.8.50.178) by daedalus.apache.org with SMTP; 20 Feb 2003 22:59:16 -0000 Received: from Pandora ([68.65.97.17]) by mta2.adelphia.net (InterMail vM.5.01.05.25 201-253-122-126-125-20021216) with SMTP id <20030220225922.MQJX26736.mta2.adelphia.net@Pandora> for ; Thu, 20 Feb 2003 17:59:22 -0500 From: "Andrew Freeman" To: "Commons-Dev" Subject: [betwixt][patch] TestBeanReader cleanup Date: Thu, 20 Feb 2003 17:59:19 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_002A_01C2D909.CA56E2A0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_002A_01C2D909.CA56E2A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Here is a patch that removes some dead code from TestBeanReader. HTH, Andy ------=_NextPart_000_002A_01C2D909.CA56E2A0 Content-Type: text/plain; name="betwixt-TestBeanReader.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="betwixt-TestBeanReader.txt" Index: TestBeanReader.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: = /home/cvspublic/jakarta-commons/betwixt/src/test/org/apache/commons/betwi= xt/TestBeanReader.java,v retrieving revision 1.9 diff -u -r1.9 TestBeanReader.java --- TestBeanReader.java 9 Feb 2003 22:27:18 -0000 1.9 +++ TestBeanReader.java 20 Feb 2003 22:56:40 -0000 @@ -247,10 +247,6 @@ */ } =20 - private void checkBean(AdderButNoPropertyBean bean) throws = Exception { - assertEquals("Bad addString call count", 3, = bean.stringCallCount()); - } - =20 private void checkBean(PersonListBean bean) throws Exception { assertEquals("PersonList size", 4, = bean.getPersonList().size()); assertEquals("PersonList value (1)", "Athos", ((PersonBean) = bean.getPersonList().get(0)).getName()); @@ -385,7 +381,6 @@ =20 public void begin(Attributes attributes) { top =3D getDigester().peek(); - this.name =3D name; called =3D true; } } ------=_NextPart_000_002A_01C2D909.CA56E2A0 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org ------=_NextPart_000_002A_01C2D909.CA56E2A0--