mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-10-22 21:21:02 +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
|
*.jspf text
|
||||||
*.jspx text
|
*.jspx text
|
||||||
*.properties text
|
*.properties text
|
||||||
*.sh text
|
|
||||||
*.tld text
|
*.tld text
|
||||||
*.txt text
|
*.txt text
|
||||||
*.tag text
|
*.tag text
|
||||||
|
@ -52,5 +51,5 @@
|
||||||
*.gzf binary
|
*.gzf binary
|
||||||
*.tgz binary
|
*.tgz binary
|
||||||
*.tar binary
|
*.tar binary
|
||||||
|
*.sh binary
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
package docking.widgets.table.constraint;
|
package docking.widgets.table.constraint;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
import docking.widgets.table.constraint.provider.NumberColumnConstraintProvider;
|
import docking.widgets.table.constraint.provider.NumberColumnConstraintProvider;
|
||||||
import ghidra.util.classfinder.ExtensionPoint;
|
import ghidra.util.classfinder.ExtensionPoint;
|
||||||
|
@ -60,7 +61,7 @@ public abstract class ColumnTypeMapper<T, M> implements ExtensionPoint {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return sourceType.hashCode() + destinationType.hashCode();
|
return Objects.hash(sourceType, destinationType);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user