Skip to content

Commit

Permalink
No single letter variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Jari27 committed Jul 23, 2016
1 parent 478435c commit 4e9042f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,11 @@ public CatchResult catchPokemon(double normalizedHitPosition,
}

@Override
public boolean equals(Object o) {
if (o == this) {
public boolean equals(Object obj) {
if (obj == this) {
return true;
} else if (o instanceof CatchablePokemon) {
return this.getEncounterId() == ((CatchablePokemon) o)
} else if (obj instanceof CatchablePokemon) {
return this.getEncounterId() == ((CatchablePokemon) obj)
.getEncounterId();
}
return false;
Expand Down

0 comments on commit 4e9042f

Please sign in to comment.