From 47fc9111cbc598aec78150538c27610dd6da13dc Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 10 Jul 2024 13:11:00 -0700 Subject: [PATCH 1/2] Fix typos in BootstrapContext javadoc See gh-41443 --- .../java/org/springframework/boot/BootstrapContext.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java index 197620f1b374..096bc336db98 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java @@ -35,7 +35,7 @@ public interface BootstrapContext { /** * Return an instance from the context if the type has been registered. The instance - * will be created it if it hasn't been accessed previously. + * will be created if it hasn't been accessed previously. * @param the instance type * @param type the instance type * @return the instance managed by the context @@ -45,7 +45,7 @@ public interface BootstrapContext { /** * Return an instance from the context if the type has been registered. The instance - * will be created it if it hasn't been accessed previously. + * will be created if it hasn't been accessed previously. * @param the instance type * @param type the instance type * @param other the instance to use if the type has not been registered @@ -55,7 +55,7 @@ public interface BootstrapContext { /** * Return an instance from the context if the type has been registered. The instance - * will be created it if it hasn't been accessed previously. + * will be created if it hasn't been accessed previously. * @param the instance type * @param type the instance type * @param other a supplier for the instance to use if the type has not been registered @@ -65,7 +65,7 @@ public interface BootstrapContext { /** * Return an instance from the context if the type has been registered. The instance - * will be created it if it hasn't been accessed previously. + * will be created if it hasn't been accessed previously. * @param the instance type * @param the exception to throw if the type is not registered * @param type the instance type From 8bc45a20d744969e37e4097074c25550271000a5 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 11 Jul 2024 13:16:38 +0100 Subject: [PATCH 2/2] Polish "Fix typos in BootstrapContext javadoc" See gh-41443 --- .../main/java/org/springframework/boot/BootstrapContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java index 096bc336db98..7d763b9e2bc8 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/BootstrapContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.