clarify code

This commit is contained in:
Grahame Grieve 2023-07-07 14:43:16 +10:00
parent cacf6696cd
commit 9acd16e35a
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP
// available for other resources to depend on. if it fails to load, there'll be an error if there's // available for other resources to depend on. if it fails to load, there'll be an error if there's
// something that should've been loaded // something that should've been loaded
for (SourceFile ref : refs) { for (SourceFile ref : refs) {
if (ref.isProcess() || all && !ref.isKnownToBeMissing()) { if ((ref.isProcess() || all) && !ref.isKnownToBeMissing()) {
ref.setCnt(igLoader.loadContent(ref.getRef(), "validate", false, first)); ref.setCnt(igLoader.loadContent(ref.getRef(), "validate", false, first));
if (loader != null && ref.getCnt() != null) { if (loader != null && ref.getCnt() != null) {
try { try {