Logger.logException(e);
}
if (disabledValidators != null) {
for (Iterator it = disabledValidators.iterator(); it.hasNext();) {
Validator v = (Validator) it.next();
Validator.V1 v1 = null;
try {
v1 = v.asV1Validator();
}
catch (Exception e) {
Logger.logException(e);
}
if (v1 != null)
disabledValsByClass.add(v1.getId());
// not a V1 validator
else if (v.getSourceId() != null) {
//could be more then one sourceid per batch validator
String[] sourceIDs = StringUtils.unpack(v.getSourceId());
disabledValsBySourceId.addAll(Arrays.asList(sourceIDs));
}
}
}
}