if ((conditions == null) || (conditions.size() == 0)) {
if (conditions == null || conditions.size() == 0) {
    protected boolean passesConditions(String conditionType, List conditions, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException {        if ((conditions == null) || (conditions.size() == 0)) {            return true;        }        boolean and = "AND".equals(conditionType);        boolean or = !and;        for (Iterator iterator = conditions.iterator(); iterator.hasNext();) {            AbstractDescriptor descriptor = (AbstractDescriptor) iterator.next();            boolean result;            if (descriptor instanceof ConditionsDescriptor) {                ConditionsDescriptor conditionsDescriptor = (ConditionsDescriptor) descriptor;                result = passesConditions(conditionsDescriptor.getType(), conditionsDescriptor.getConditions(), transientVars, ps, currentStepId);            } else {                result = passesCondition((ConditionDescriptor) descriptor, transientVars, ps, currentStepId);            }            if (and && !result) {                return false;            } else if (or && result) {                return true;            }        }        if (and) {            return true;        } else if (or) {            return false;        } else {            return false;        }    }