diff --git a/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileType.java b/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileType.java index d8b0c1e74f..f571e673dc 100644 --- a/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileType.java +++ b/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileType.java @@ -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;