private boolean hasErrors(PropertyList list) { if (list.getErrorMessage() != null) { return true; } for (Property p : list.getList()) { if (hasErrors(p)) { return true; } } return false; }
private boolean hasErrors(PropertyList list) { if (list.getErrorMessage() != null) { return true; } for (Property p : list.getList()) { if (hasErrors(p)) { return true; } } return false; }