Skip to content

Commit a7d17ff

Browse files
committed
Simplify comparer hashcode
1 parent 8a34527 commit a7d17ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KuruExtract/Extensions/ExtensionEqualityComparer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ public bool Equals(string? x, string? y)
1515

1616
public int GetHashCode([DisallowNull] string obj)
1717
{
18-
return obj != null ? obj.GetHashCode() : 0;
18+
return obj.GetHashCode();
1919
}
2020
}

0 commit comments

Comments
 (0)