Skip to content

Commit

Permalink
Fixed GeeseTextEqualityComparer Equals method to look less Indian.
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonsLover committed May 25, 2024
1 parent 6075734 commit 6b40e68
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Geesemon.Web/GeeseTexts/GeeseText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ public class GeeseTextEqualityComparer : IEqualityComparer<GeeseText>
{
public bool Equals(GeeseText text1, GeeseText text2)
{
if(text1.Key == text2.Key)
return true;

return false;
return text1.Key == text2.Key;
}

public int GetHashCode(GeeseText text)
Expand Down

0 comments on commit 6b40e68

Please sign in to comment.