Unchecked cast error

This commit is contained in:
iadgovuser29 2024-06-13 12:08:07 -04:00 committed by chubtub
parent c24ea01906
commit dc46da98fd

View File

@ -105,10 +105,10 @@ public class SupplyChainValidation extends ArchivableEntity {
this.certificatesUsed = new ArrayList<>();
this.rimId = "";
for (ArchivableEntity ae : certificatesUsed) {
if (ae instanceof BaseReferenceManifest) {
if (ae instanceof ReferenceManifest) {
this.rimId = ae.getId().toString();
break;
} else {
} else if (ae instanceof Certificate) {
this.certificatesUsed.add((Certificate) ae);
}
}