HHH-14745 Fix formatting

This commit is contained in:
Karel Maesen 2021-07-26 15:42:59 +02:00 committed by Christian Beikov
parent 649b2187e1
commit 6b4f4755f3
1 changed files with 3 additions and 2 deletions

View File

@ -291,8 +291,9 @@ public class QueryEngine {
}
private static List<FunctionContributor> sortedFunctionContributors(ServiceRegistry serviceRegistry) {
List<FunctionContributor> contributors = new ArrayList<>( serviceRegistry.getService( ClassLoaderService.class )
.loadJavaServices( FunctionContributor.class ) );
List<FunctionContributor> contributors = new ArrayList<>(
serviceRegistry.getService( ClassLoaderService.class )
.loadJavaServices( FunctionContributor.class ) );
contributors.sort( Comparator.comparingInt( FunctionContributor::ordinal )
.thenComparing( a -> a.getClass().getCanonicalName() ) );
return contributors;