commons-dev mailing list archives

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

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.

Regards,

-- 
Aaron Digulla


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message