Skip to content

Commit 5bea2ec

Browse files
committed
Add Bootstrapper initialize method to fix typo
1 parent 9c24ca0 commit 5bea2ec

File tree

1 file changed

+10
-0
lines changed
  • spring-boot-project/spring-boot/src/main/java/org/springframework/boot

1 file changed

+10
-0
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/Bootstrapper.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ public interface Bootstrapper {
3131
* Initialize the given {@link BootstrapRegistry} with any required registrations.
3232
* @param registry the registry to initialize
3333
*/
34+
default void initialize(BootstrapRegistry registry) {
35+
}
36+
37+
/**
38+
* Initialize the given {@link BootstrapRegistry} with any required registrations.
39+
* @param registry the registry to initialize
40+
* @deprecated since 2.4.4 in favor of
41+
* {@link Bootstrapper#initialize(BootstrapRegistry)}
42+
*/
43+
@Deprecated
3444
void intitialize(BootstrapRegistry registry);
3545

3646
}

0 commit comments

Comments
 (0)