+                boolean hasChildren = NodeUtil.asList(NodeUtil.getNodes(tmpNode, NodeUtil.EXCLUDE_META_DATA_FILTER)).size()<1?false:true;
+                boolean hasProperties = new JCRMgnlPropertiesFilteringNodeWrapper(tmpNode).getProperties().getSize()<1?false:true;

Were you actually trying to obfuscate the code instead of fix the issue? Why are you using ternary statements to express simple boolean? Was it not boolean enough the first time?

And since this is a regression, there should be a junit test for this change.

Change By: Jan Haderka (15/Feb/13 1:57 PM)
Resolution: Fixed
Status: Resolved Reopened
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to