Merge pull request #8433 from eclipse/jetty-10.0.x-aliasCheckingPerf

improve performance of alias checking
This commit is contained in:
Lachlan 2022-08-15 10:23:16 +10:00 committed by GitHub
commit 32e081566e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1972,7 +1972,7 @@ public class ContextHandler extends ScopedHandler implements Attributes, Gracefu
LOG.debug("Aliased resource: {}~={}", resource, resource.getAlias()); LOG.debug("Aliased resource: {}~={}", resource, resource.getAlias());
// alias checks // alias checks
for (AliasCheck check : getAliasChecks()) for (AliasCheck check : _aliasChecks)
{ {
if (check.check(path, resource)) if (check.check(path, resource))
{ {