Yes, indeed. I used another way before (instead of webXmlDoc.getElementsByTagName("distributable").getLength() > 0 ) an forgot to
remove the ternary operator after ;o)
Will do when I will get a chance....
Jacques
From: "Jacopo Cappellato" <[email protected]>
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