Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-budiyev committed Oct 10, 2017
1 parent 573b14f commit ca43484
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/com/budiyev/android/codescanner/Rect.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ public int getHeight() {

@Override
public int hashCode() {
int result = mLeft;
result = 31 * result + mTop;
result = 31 * result + mRight;
result = 31 * result + mBottom;
return result;
return 31 * (31 * (31 * mLeft + mTop) + mRight) + mBottom;
}

@Override
Expand Down

0 comments on commit ca43484

Please sign in to comment.