commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [BEANUTILS-257] Wrapping all checked exceptions
Date Fri, 17 Nov 2006 12:36:16 GMT

Just to get an idea of the "savings", I converted PropertyUtilsTestCase. 
The old version has 3830 lines, the new one 3079 lines (20% less).

Please note that the same amount of savings could have been achieved by 
using "public test...() throws Exception" instead of catching and handling 
each checked exception with fail(). Moreover, PropertyUtilsTestCase is not 
a real world example for the BeanUtils usage.


Aaron Digulla

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message