mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-23 12:49:45 +00:00
fixed hashcode method in ColumnTypeMapper to handle null source types
This commit is contained in:
parent
c6d3a7dcd1
commit
706b2b8aba
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -15,7 +15,6 @@
|
||||
*.jspf text
|
||||
*.jspx text
|
||||
*.properties text
|
||||
*.sh text
|
||||
*.tld text
|
||||
*.txt text
|
||||
*.tag text
|
||||
@ -52,5 +51,5 @@
|
||||
*.gzf binary
|
||||
*.tgz binary
|
||||
*.tar binary
|
||||
|
||||
*.sh binary
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
package docking.widgets.table.constraint;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
import docking.widgets.table.constraint.provider.NumberColumnConstraintProvider;
|
||||
import ghidra.util.classfinder.ExtensionPoint;
|
||||
@ -60,7 +61,7 @@ public abstract class ColumnTypeMapper<T, M> implements ExtensionPoint {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return sourceType.hashCode() + destinationType.hashCode();
|
||||
return Objects.hash(sourceType, destinationType);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user