mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-31 08:25:39 +00:00
Fixed up the PMD issue
This commit is contained in:
parent
61c4c81b77
commit
85d8f0342e
@ -377,12 +377,11 @@ public class ReferenceManifestDetailsPageController
|
|||||||
HashMap<String, TpmPcrEvent> digestMap = new HashMap<>();
|
HashMap<String, TpmPcrEvent> digestMap = new HashMap<>();
|
||||||
for (TpmPcrEvent tpe : logProcessor.getEventList()) {
|
for (TpmPcrEvent tpe : logProcessor.getEventList()) {
|
||||||
digestMap.put(tpe.getEventDigestStr(), tpe);
|
digestMap.put(tpe.getEventDigestStr(), tpe);
|
||||||
if (!support.isSwidSupplemental()) {
|
if (!support.isSwidSupplemental()
|
||||||
if (!tpe.eventCompare(
|
&& !tpe.eventCompare(
|
||||||
measurementsProcess.getEventByNumber(
|
measurementsProcess.getEventByNumber(
|
||||||
tpe.getEventNumber()))) {
|
tpe.getEventNumber()))) {
|
||||||
tpe.setError(true);
|
tpe.setError(true);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
tpmPcrEvents.add(tpe);
|
tpmPcrEvents.add(tpe);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user