Skip to content

Commit

Permalink
Fix factory method return type
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Sep 29, 2022
1 parent ac13d26 commit 192bc1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public interface AotApplicationContextInitializer<C extends ConfigurableApplicat
* @param initializerClassNames the class names of the initializers to load
* @return a new {@link AotApplicationContextInitializer} instance
*/
static <C extends ConfigurableApplicationContext> ApplicationContextInitializer<C> forInitializerClasses(
static <C extends ConfigurableApplicationContext> AotApplicationContextInitializer<C> forInitializerClasses(
String... initializerClassNames) {

Assert.noNullElements(initializerClassNames, "'initializerClassNames' must not contain null elements");
Expand Down

0 comments on commit 192bc1e

Please sign in to comment.