Removed debug statements

This commit is contained in:
Cyrus 2022-02-15 13:43:33 -05:00
parent 99ba840a54
commit 6abd87a192

View File

@ -459,19 +459,13 @@ public class SupplyChainValidationServiceImpl implements SupplyChainValidationSe
}
}
LOGGER.error(String.format("CYRUS - # of resources (ie support rims) - %d",
resources.size()));
for (SwidResource swidRes : resources) {
LOGGER.error(String.format("CYRUS - Looking for hash %s", swidRes.getHashValue()));
supportReferenceManifest = SupportReferenceManifest.select(referenceManifestManager)
.byHexDecHash(swidRes.getHashValue()).getRIM();
if (supportReferenceManifest != null) {
// Removed the filename check from this if statement
referenceManifestValidator.validateSupportRimHash(
supportReferenceManifest.getRimBytes(), swidRes.getHashValue());
} else {
LOGGER.error("CYRUS - Didn't find support rim by hash");
}
}