mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
fix equals in sig
This commit is contained in:
parent
88942afc85
commit
42c8e4bb73
@ -224,7 +224,7 @@ class FileType {
|
||||
public boolean equals(Object other) {
|
||||
if (other != null && other instanceof Signature) {
|
||||
Signature that = (Signature) other;
|
||||
if(this.getSignatureBytes() == that.getSignatureBytes() && this.getOffset() == that.getOffset())
|
||||
if(Arrays.equals(this.getSignatureBytes(), that.getSignatureBytes()) && this.getOffset() == that.getOffset())
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user