mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
equals fix
This commit is contained in:
parent
867ac39684
commit
b2318db855
@ -311,7 +311,7 @@ final class DataSourceInfoUtilities {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int compare(BlackboardAttribute attribute1, BlackboardAttribute attribute2) {
|
public int compare(BlackboardAttribute attribute1, BlackboardAttribute attribute2) {
|
||||||
if (attribute1.getAttributeType() != attribute2.getAttributeType()) {
|
if (!attribute1.getAttributeType().equals(attribute2.getAttributeType())) {
|
||||||
throw new IllegalArgumentException("Unable to compare attributes of different types");
|
throw new IllegalArgumentException("Unable to compare attributes of different types");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user