The GitHub Actions job "Build" on jackrabbit-oak.git has failed.
Run started by GitHub user nfsantos (triggered by nfsantos).

Head commit for run:
21d218b1f13738c7aa283e74a0224ddb7d025827 / Nuno Santos <nsan...@adobe.com>
Aggregate.getElementNameIfNotAPattern() is creating a String representation of 
the elements arrays every time it is called, even though it was only needed if 
the checkArgument call failed. Replace this call by a conditional that avoids 
this expensive conversion to String.

In calls to collectAggregates, avoid the creation of ArrayList<Matcher> 
instances, instead use Matcher[]. Iteration over arrays with the enhanced for 
loop are converted to indexed traversals, which avoids the creation of an 
Iterator object while preserving the clean syntax of the enhanced for loop.

Replace usages of static constructor methods  from Collections by corresponding 
methods in Set and Map.

In collectAggregatesForDirectMatchers(), do not create temporary children map 
and do not call matchChildren() unless there is a match among the children.

Fix white space.

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/13500564724

With regards,
GitHub Actions via GitBox

Reply via email to