diff options
Diffstat (limited to 'src/main/java/cuchaz/enigma/mapping/Signature.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/mapping/Signature.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/cuchaz/enigma/mapping/Signature.java b/src/main/java/cuchaz/enigma/mapping/Signature.java index 117018a..e2f9f09 100644 --- a/src/main/java/cuchaz/enigma/mapping/Signature.java +++ b/src/main/java/cuchaz/enigma/mapping/Signature.java | |||
| @@ -91,10 +91,7 @@ public class Signature implements Serializable { | |||
| 91 | 91 | ||
| 92 | @Override | 92 | @Override |
| 93 | public boolean equals(Object other) { | 93 | public boolean equals(Object other) { |
| 94 | if (other instanceof Signature) { | 94 | return other instanceof Signature && equals((Signature) other); |
| 95 | return equals((Signature) other); | ||
| 96 | } | ||
| 97 | return false; | ||
| 98 | } | 95 | } |
| 99 | 96 | ||
| 100 | public boolean equals(Signature other) { | 97 | public boolean equals(Signature other) { |