mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-20 17:52:47 +00:00
[#409] Fixed one problem with delta component checking.
This commit is contained in:
parent
3f9c6c9d44
commit
647c88d16b
@ -659,14 +659,17 @@ public final class SupplyChainCredentialValidator implements CredentialValidator
|
||||
// error
|
||||
resultMessage.append("ADDED attempted with prior instance\n");
|
||||
deltaSb.append(String.format("%s;", ci.hashCode()));
|
||||
break;
|
||||
}
|
||||
if (ciV2.isModified()) {
|
||||
// since the base list doesn't have this ci
|
||||
// just add the delta
|
||||
baseCompList.add(deltaCi);
|
||||
break;
|
||||
}
|
||||
if (ciV2.isRemoved()) {
|
||||
baseCompList.remove(ciV2);
|
||||
break;
|
||||
}
|
||||
// if it is a remove
|
||||
// we do nothing because baseCompList doesn't have it
|
||||
|
Loading…
x
Reference in New Issue
Block a user