mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 19:14:55 +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) {
|
public boolean equals(Object other) {
|
||||||
if (other != null && other instanceof Signature) {
|
if (other != null && other instanceof Signature) {
|
||||||
Signature that = (Signature) other;
|
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 true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user