softwareconstruction240 / chess

Chess project for BYU CS 240
2 stars 4 forks source link

Fix UserGameCommand #22

Closed 19mdavenport closed 3 months ago

19mdavenport commented 3 months ago

Not sure how I managed to pull this off, but it seems when I updated parts of the UserGameCommand at the end of Spring term I left it in a state that cannot be compiled as I changed getAuthString to getAuthToken but failed to change the equals and hashCode methods that still called getAuthString.

This PR fixes equals and hashCode to call getAuthToken instead.

I could also undo the change and revert back to the getter being called getAuthString if you think that would be better.