Skip to content

Commit

Permalink
Make variable final.
Browse files Browse the repository at this point in the history
  • Loading branch information
codahale committed Mar 31, 2019
1 parent 1c79039 commit 58b9502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/codahale/shamir/Scheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public boolean equals(Object o) {
if (!(o instanceof Scheme)) {
return false;
}
Scheme scheme = (Scheme) o;
final Scheme scheme = (Scheme) o;
return n == scheme.n && k == scheme.k && Objects.equals(random, scheme.random);
}

Expand Down

0 comments on commit 58b9502

Please sign in to comment.