diff --git a/hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java b/hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java index a519d74fe9..c5fef69f9d 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java +++ b/hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java @@ -291,8 +291,9 @@ public class QueryEngine { } private static List sortedFunctionContributors(ServiceRegistry serviceRegistry) { - List contributors = new ArrayList<>( serviceRegistry.getService( ClassLoaderService.class ) - .loadJavaServices( FunctionContributor.class ) ); + List contributors = new ArrayList<>( + serviceRegistry.getService( ClassLoaderService.class ) + .loadJavaServices( FunctionContributor.class ) ); contributors.sort( Comparator.comparingInt( FunctionContributor::ordinal ) .thenComparing( a -> a.getClass().getCanonicalName() ) ); return contributors;