Skip to content
Snippets Groups Projects
Commit 0ba37652 authored by Florian Angerer's avatar Florian Angerer
Browse files

Fix: Equals method needs to consider length of signature.

parent 5e5f4157
No related branches found
No related tags found
No related merge requests found
......@@ -222,6 +222,9 @@ public final class ArgumentsSignature implements Iterable<String> {
return false;
}
ArgumentsSignature other = (ArgumentsSignature) obj;
if (length != other.length) {
return false;
}
if (!Arrays.equals(names, other.names)) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment