Merge pull request #799 from nsacyber/v3_issue-797

[#797] Remove SupportReferenceManifest.processed
This commit is contained in:
chubtub 2024-07-05 09:27:02 -04:00 committed by GitHub
commit 19d3bdd1ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,8 +32,6 @@ public class SupportReferenceManifest extends ReferenceManifest {
private int pcrHash = 0;
@Column
private boolean updated = false;
@Column
private boolean processed = false;
/**
* Main constructor for the RIM object. This takes in a byte array of a
@ -127,11 +125,11 @@ public class SupportReferenceManifest extends ReferenceManifest {
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
SupportReferenceManifest that = (SupportReferenceManifest) o;
return pcrHash == that.pcrHash && updated == that.updated && processed == that.processed;
return pcrHash == that.pcrHash && updated == that.updated;
}
@Override
public int hashCode() {
return Objects.hash(super.hashCode(), pcrHash, updated, processed);
return Objects.hash(super.hashCode(), pcrHash, updated);
}
}