Here is a patch that removes some dead code from TestBeanReader.

HTH,
Andy
Index: TestBeanReader.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/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 @@
         */
     }
     
-    private void checkBean(AdderButNoPropertyBean bean) throws Exception {
-        assertEquals("Bad addString call count", 3, bean.stringCallCount());
-    }
-    
     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 @@
         
         public void begin(Attributes attributes) {
             top = getDigester().peek();
-            this.name = name;
             called = true;
         }
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to