fixed hashcode method in ColumnTypeMapper to handle null source types

This commit is contained in:
ghidravore 2020-08-05 16:34:25 -04:00
parent c6d3a7dcd1
commit 706b2b8aba
2 changed files with 3 additions and 3 deletions

3
.gitattributes vendored
View File

@ -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

View File

@ -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