mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-27 14:49:56 +00:00
Unchecked cast error
This commit is contained in:
parent
c24ea01906
commit
dc46da98fd
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user