Merge pull request #8433 from eclipse/jetty-10.0.x-aliasCheckingPerf
improve performance of alias checking
This commit is contained in:
commit
32e081566e
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue