Right, that I copied from elsewhere in code, I will then review this/ese other 
part/s too...

Jacques

From: "Adrian Crum" <[email protected]>
On 5/5/2012 9:19 AM, Jacopo Cappellato wrote:
On May 5, 2012, at 9:59 AM, [email protected] wrote:

+        boolean appIsDistributable = 
webXmlDoc.getElementsByTagName("distributable").getLength()>  0 ? true : false;
(a trivial note) this can be simplified with:

boolean appIsDistributable = 
webXmlDoc.getElementsByTagName("distributable").getLength()>  0;

Jacopo

Also, the multiple catch blocks can be reduced to a singe catch (Exception e).

-Adrian

Reply via email to