4546474849505152535455
if (validators.size() > 1) { AllOfValidator all = new AllOfValidator(); all.setValidators(validators); try { all.afterPropertiesSet(); } catch (Exception e) { throw new IllegalArgumentException(e); } validators = createArrayList((Validator) all);