Skip to content

Commit

Permalink
perf: improve performance of DirectReferenceFilter (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky authored and monperrus committed Jan 18, 2017
1 parent e5e9812 commit cd6dbd8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public DirectReferenceFilter(CtReference reference) {
}

public boolean matches(T reference) {
if (super.matches(reference) == false) {
return false;
}
return this.reference.equals(reference);
}
}

0 comments on commit cd6dbd8

Please sign in to comment.