See gh-27940
This commit is contained in:
dreis2211
2021-09-11 11:20:47 +02:00
committed by Stephane Nicoll
parent b8b2e56fab
commit cf0fcafd13
41 changed files with 74 additions and 74 deletions

View File

@@ -175,7 +175,7 @@ public interface BootstrapRegistry {
SINGLETON,
/**
* A prototype instance. The {@link InstanceSupplier} will be called whenver an
* A prototype instance. The {@link InstanceSupplier} will be called whenever an
* instance is needed.
*/
PROTOTYPE

View File

@@ -221,7 +221,7 @@ class ConfigDataEnvironmentContributor implements Iterable<ConfigDataEnvironment
}
/**
* Create an new {@link ConfigDataEnvironmentContributor} with bound
* Create a new {@link ConfigDataEnvironmentContributor} with bound
* {@link ConfigDataProperties}.
* @param binder the binder to use
* @return a new contributor instance
@@ -305,7 +305,7 @@ class ConfigDataEnvironmentContributor implements Iterable<ConfigDataEnvironment
}
/**
* Create a new {@link ConfigDataEnvironmentContributor} instance where a existing
* Create a new {@link ConfigDataEnvironmentContributor} instance where an existing
* child is replaced.
* @param existing the existing node that should be replaced
* @param replacement the replacement node that should be used instead

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 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.
@@ -72,7 +72,7 @@ public class ConfigDataResourceNotFoundException extends ConfigDataNotFoundExcep
/**
* Return the original location that was resolved to determine the resource.
* @return the location or {@code null} if no location is availble
* @return the location or {@code null} if no location is available
*/
public ConfigDataLocation getLocation() {
return this.location;

View File

@@ -20,7 +20,7 @@ import org.springframework.boot.env.PropertySourceLoader;
import org.springframework.util.StringUtils;
/**
* An reference expanded from the original {@link ConfigDataLocation} that can ultimately
* A reference expanded from the original {@link ConfigDataLocation} that can ultimately
* be resolved to one or more {@link StandardConfigDataResource resources}.
*
* @author Phillip Webb

View File

@@ -50,7 +50,7 @@ public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent
}
/**
* Return the bootstap context.
* Return the bootstrap context.
* @return the bootstrap context
* @since 2.4.0
*/

View File

@@ -51,7 +51,7 @@ public class ApplicationStartingEvent extends SpringApplicationEvent {
}
/**
* Return the bootstap context.
* Return the bootstrap context.
* @return the bootstrap context
* @since 2.4.0
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 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.
@@ -66,7 +66,7 @@ class SoftReferenceConfigurationPropertyCache<T> implements ConfigurationPropert
}
/**
* Get an value from the cache, creating it if necessary.
* Get a value from the cache, creating it if necessary.
* @param factory a factory used to create the item if there is no reference to it.
* @param refreshAction action called to refresh the value if it has expired
* @return the value from the cache

View File

@@ -30,7 +30,7 @@ import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
/**
* Utility class that can resolve placholder text with the actual {@link DatabaseDriver}
* Utility class that can resolve placeholder text with the actual {@link DatabaseDriver}
* platform.
* <p>
* By default, the name of the platform is the {@link DatabaseDriver#getId ID of the
@@ -70,7 +70,7 @@ public class PlatformPlaceholderDatabaseDriverResolver {
}
/**
* Creates a new {@code PlatformPlaceholdDatabaseDriverResolver} that will map the
* Creates a new {@link PlatformPlaceholderDatabaseDriverResolver} that will map the
* given {@code driver} to the given {@code platform}.
* @param driver the driver
* @param platform the platform

View File

@@ -15,7 +15,7 @@
*/
/**
* Support for initializaton of an SQL database using a JDBC {@link javax.sql.DataSource
* Support for initialization of an SQL database using a JDBC {@link javax.sql.DataSource
* DataSource}.
*/
package org.springframework.boot.jdbc.init;

View File

@@ -15,7 +15,7 @@
*/
/**
* Support for initializaton of an SQL database using an R2DBC
* Support for initialization of an SQL database using an R2DBC
* {@link io.r2dbc.spi.ConnectionFactory ConnectionFactory}.
*/
package org.springframework.boot.r2dbc.init;

View File

@@ -15,6 +15,6 @@
*/
/**
* Support for initializaton of an SQL database.
* Support for initialization of an SQL database.
*/
package org.springframework.boot.sql.init;

View File

@@ -93,7 +93,7 @@ public class MessageInterpolatorFactory implements ObjectFactory<MessageInterpol
return getFallback(fallback);
}
catch (Exception ex) {
// Swallow an continue
// Swallow and continue
}
}
return null;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2021 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.
@@ -94,7 +94,7 @@ class TomcatEmbeddedContext extends StandardContext {
* Some older Servlet frameworks (e.g. Struts, BIRT) use the Thread context class
* loader to create servlet instances in this phase. If they do that and then try to
* initialize them later the class loader may have changed, so wrap the call to
* loadOnStartup in what we think its going to be the main webapp classloader at
* loadOnStartup in what we think is going to be the main webapp classloader at
* runtime.
* @param classLoader the class loader to use
* @param code the code to run

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2021 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.
@@ -17,7 +17,7 @@
package org.springframework.boot.web.server;
/**
* Exceptions thrown by an web server.
* Exceptions thrown by a web server.
*
* @author Phillip Webb
* @since 2.0.0

View File

@@ -336,9 +336,9 @@ public class ServletWebServerApplicationContext extends GenericWebApplicationCon
}
/**
* Utility class to store and restore any user defined scopes. This allow scopes to be
* registered in an ApplicationContextInitializer in the same way as they would in a
* classic non-embedded web application context.
* Utility class to store and restore any user defined scopes. This allows scopes to
* be registered in an ApplicationContextInitializer in the same way as they would in
* a classic non-embedded web application context.
*/
public static class ExistingWebApplicationScopes {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 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.
@@ -109,7 +109,7 @@ public class WebServiceTemplateBuilder {
/**
* Set if a suitable HTTP-based {@link WebServiceMessageSender} should be detected
* based on the classpath. Default is {@code true}.
* @param detectHttpMessageSender if a HTTP-based {@link WebServiceMessageSender}
* @param detectHttpMessageSender if an HTTP-based {@link WebServiceMessageSender}
* should be detected
* @return a new builder instance
* @see HttpWebServiceMessageSenderBuilder