Github user pedro-martins commented on the pull request: https://github.com/apache/cloudstack/pull/1360#issuecomment-174210179 Could you replace the logic in your 'if' at lines 673 and 523 "(networks == null || networks.size() == 0)" to CollectionUtils.isEmpty(networks) from org.apache.commons.collections4.CollectionUtils ? That can make the logic a bit more legible.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---