Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
With the new implementation, whenever the best matching resource provider for a path is searched, the implementation calls:
CombinedResourceProvider#getMatchingProviders(path) which returns a list and then the first element from the list is fetched (through the head method).
I think we could and should avoid creating the unnecessary intermediate list object, and simply return the most matching provider (which is the last one matching)