Skip to content
Snippets Groups Projects
Commit fc82d512 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

more efficient check for empty in ArgumentsSignature

parent a39615a1
Branches
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ public final class ArgumentsSignature implements Iterable<String> {
}
public boolean isEmpty() {
return names.length == 0;
return this == EMPTY_SIGNATURES[0];
}
public int getLength() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment