[
https://issues.apache.org/jira/browse/SLING-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke resolved SLING-12679.
------------------------------------
Resolution: Fixed
> ResourceResolver: incorrect metrics init
> ----------------------------------------
>
> Key: SLING-12679
> URL: https://issues.apache.org/jira/browse/SLING-12679
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
>
> See
>
> https://github.com/apache/sling-org-apache-sling-resourceresolver/blame/08ebd4401fc2b3a3569119ab6cc33e2094e89817/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java#L179
> {code}
> this.metrics.get().setNumberOfResourcesWithAliasesOnStartupSupplier(detectedInvalidAliases::get);
> {code}
> Unfortunately, this does not test coverage, as all checks for actual values
> bypass the metrics object and go directly to the counters.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)