Skip to content

Commit 0910eed

Browse files
author
John Blum
committed
Correct grammar in Javadoc
Closes PR #41443
1 parent a349170 commit 0910eed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface BootstrapContext {
3535

3636
/**
3737
* Return an instance from the context if the type has been registered. The instance
38-
* will be created it if it hasn't been accessed previously.
38+
* will be created if it hasn't been accessed previously.
3939
* @param <T> the instance type
4040
* @param type the instance type
4141
* @return the instance managed by the context
@@ -45,7 +45,7 @@ public interface BootstrapContext {
4545

4646
/**
4747
* Return an instance from the context if the type has been registered. The instance
48-
* will be created it if it hasn't been accessed previously.
48+
* will be created if it hasn't been accessed previously.
4949
* @param <T> the instance type
5050
* @param type the instance type
5151
* @param other the instance to use if the type has not been registered
@@ -55,7 +55,7 @@ public interface BootstrapContext {
5555

5656
/**
5757
* Return an instance from the context if the type has been registered. The instance
58-
* will be created it if it hasn't been accessed previously.
58+
* will be created if it hasn't been accessed previously.
5959
* @param <T> the instance type
6060
* @param type the instance type
6161
* @param other a supplier for the instance to use if the type has not been registered
@@ -65,7 +65,7 @@ public interface BootstrapContext {
6565

6666
/**
6767
* Return an instance from the context if the type has been registered. The instance
68-
* will be created it if it hasn't been accessed previously.
68+
* will be created if it hasn't been accessed previously.
6969
* @param <T> the instance type
7070
* @param <X> the exception to throw if the type is not registered
7171
* @param type the instance type
@@ -77,7 +77,7 @@ public interface BootstrapContext {
7777
<T, X extends Throwable> T getOrElseThrow(Class<T> type, Supplier<? extends X> exceptionSupplier) throws X;
7878

7979
/**
80-
* Return if a registration exists for the given type.
80+
* Return {@code true} if a registration exists for the given type.
8181
* @param <T> the instance type
8282
* @param type the instance type
8383
* @return {@code true} if the type has already been registered

0 commit comments

Comments
 (0)