@@ -37,19 +37,18 @@ protected Stream<T> provideInvocationContexts(ExtensionContext extensionContext,
3737 declarationContext );
3838 AtomicLong invocationCount = new AtomicLong (0 );
3939
40- // @formatter:off
41- return argumentsSources
42- .stream ()
43- . map ( ArgumentsSource :: value )
44- .map (clazz -> ParameterizedTestSpiInstantiator . instantiate ( ArgumentsProvider . class , clazz , extensionContext ))
45- . map ( provider -> AnnotationConsumerInitializer . initialize ( declarationContext . getAnnotatedElement (), provider ))
46- .flatMap (provider -> arguments (provider , parameters , extensionContext ))
40+ return argumentsSources . stream () //
41+ . map ( ArgumentsSource :: value ) //
42+ .map ( clazz -> ParameterizedTestSpiInstantiator . instantiate ( ArgumentsProvider . class , clazz ,
43+ extensionContext )) //
44+ .map (provider -> AnnotationConsumerInitializer . initialize ( declarationContext . getAnnotatedElement (),
45+ provider )) //
46+ .flatMap (provider -> arguments (provider , parameters , extensionContext )) //
4747 .map (arguments -> {
4848 invocationCount .incrementAndGet ();
4949 return declarationContext .createInvocationContext (formatter , arguments , invocationCount .intValue ());
50- })
51- .onClose (() -> validateInvokedAtLeastOnce (invocationCount .get (),declarationContext ));
52- // @formatter:on
50+ }) //
51+ .onClose (() -> validateInvokedAtLeastOnce (invocationCount .get (), declarationContext ));
5352 }
5453
5554 private static <T > void validateInvokedAtLeastOnce (long invocationCount ,
0 commit comments