|
||||||||||||||
|
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]>
----------------------------------------------------------------

just a tiny thing, but helps to understand the code next time there's some bug to fix:
if (!((AreaDefinition.TYPE_LIST.equals(areaDefinition.getType()) || AreaDefinition.TYPE_SINGLE.equals(areaDefinition.getType())) && numberOfComponents < 1)) { 272is not really easy to read, partly because it is long and partly because of the negation of the whole statement. Can we maybe just swap if/else parts of the code below so the test _expression_ doesn't have to be negated?