See gh-10109
This commit is contained in:
Johnny Lim 2017-08-30 15:25:43 +09:00 committed by Stephane Nicoll
parent 2c97d3a5e9
commit db76112700
13 changed files with 21 additions and 21 deletions

View File

@ -125,7 +125,7 @@ public final class Health {
}
/**
* Create a new {@link Builder} instance with an {@link Status#DOWN} status an the
* Create a new {@link Builder} instance with an {@link Status#DOWN} status and the
* specified exception details.
* @param ex the exception
* @return a new {@link Builder} instance

View File

@ -189,7 +189,7 @@ public class ActiveMQProperties {
private int maximumActiveSessionPerConnection = 500;
/**
* Reset the connection when a "JMXException" occurs.
* Reset the connection when a "JMSException" occurs.
*/
private boolean reconnectOnException = true;

View File

@ -76,8 +76,8 @@ public class SessionAutoConfigurationJdbcTests
this.context.getBean(JdbcSessionProperties.class).getInitializeSchema())
.isEqualTo(DatabaseInitializationMode.NEVER);
this.thrown.expect(BadSqlGrammarException.class);
assertThat(this.context.getBean(JdbcOperations.class)
.queryForList("select * from SPRING_SESSION")).isEmpty();
this.context.getBean(JdbcOperations.class)
.queryForList("select * from SPRING_SESSION");
}
@Test

View File

@ -413,7 +413,7 @@ content into your application; rather pick only the properties that you need.
spring.resources.chain.strategy.fixed.version= # Version string to use for the Version Strategy.
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/ # Locations of static resources.
# SPRING SESSION ({sc-spring-boot-autoconfigure}/session/SessionProperties.{sc-ext}[SessionProperties])
# SPRING SESSION ({sc-spring-boot-autoconfigure}/session/SessionProperties.{sc-ext}[SessionProperties], {sc-spring-boot-autoconfigure}/session/JdbcSessionProperties.{sc-ext}[JdbcSessionProperties], {sc-spring-boot-autoconfigure}/session/RedisSessionProperties.{sc-ext}[RedisSessionProperties])
spring.session.hazelcast.flush-mode=on-save # Sessions flush mode.
spring.session.hazelcast.map-name=spring:session:sessions # Name of the map used to store sessions.
spring.session.jdbc.initialize-schema=embedded # Database schema initialization mode.
@ -924,7 +924,7 @@ content into your application; rather pick only the properties that you need.
spring.activemq.pool.idle-timeout=30000 # Connection idle timeout in milliseconds.
spring.activemq.pool.max-connections=1 # Maximum number of pooled connections.
spring.activemq.pool.maximum-active-session-per-connection=500 # Maximum number of active sessions per connection.
spring.activemq.pool.reconnect-on-exception=true # Reset the connection when a "JMXException" occurs.
spring.activemq.pool.reconnect-on-exception=true # Reset the connection when a "JMSException" occurs.
spring.activemq.pool.time-between-expiration-check=-1 # Time to sleep, in milliseconds, between runs of the idle connection eviction thread. When negative, no idle connection eviction thread runs.
spring.activemq.pool.use-anonymous-producers=true # Use only one anonymous "MessageProducer" instance. Set it to false to create one "MessageProducer" every time one is required.

View File

@ -24,7 +24,7 @@ public class Message {
private Long id;
@NotEmpty(message = "Message is required.")
@NotEmpty(message = "Text is required.")
private String text;
@NotEmpty(message = "Summary is required.")

View File

@ -24,7 +24,7 @@ public class Message {
private Long id;
@NotEmpty(message = "Message is required.")
@NotEmpty(message = "Text is required.")
private String text;
@NotEmpty(message = "Summary is required.")

View File

@ -7,7 +7,7 @@
-----
By default, both the <<<repackage>>> and the <<<run>>> goals will include any <<<provided>>>
dependencies that are defined in the project. A boot-based project should consider
dependencies that are defined in the project. A Spring Boot project should consider
<<<provided>>> dependencies as <<container>> dependencies that are required to run
the application.

View File

@ -39,7 +39,7 @@ public abstract class AbstractFailureAnalyzer<T extends Throwable>
}
/**
* Returns an analysis of the given {@code failure}, or {@code null} if no analysis
* Returns an analysis of the given {@code rootFailure}, or {@code null} if no analysis
* was possible.
* @param rootFailure the root failure passed to the analyzer
* @param cause the actual found cause

View File

@ -106,7 +106,7 @@ public abstract class AbstractInjectionFailureAnalyzer<T extends Throwable>
}
/**
* Returns an analysis of the given {@code failure}, or {@code null} if no analysis
* Returns an analysis of the given {@code rootFailure}, or {@code null} if no analysis
* was possible.
* @param rootFailure the root failure passed to the analyzer
* @param cause the actual found cause

View File

@ -77,7 +77,7 @@ public class SpringPhysicalNamingStrategy implements PhysicalNamingStrategy {
}
/**
* Get an the identifier for the specified details. By default this method will return
* Get an identifier for the specified details. By default this method will return
* an identifier with the name adapted based on the result of
* {@link #isCaseInsensitive(JdbcEnvironment)}
* @param name the name of the identifier

View File

@ -90,7 +90,7 @@ import org.springframework.util.StringUtils;
* Can be initialized using Spring's {@link ServletContextInitializer}s or Jetty
* {@link Configuration}s.
* <p>
* Unless explicitly configured otherwise this factory will created servers that listens
* Unless explicitly configured otherwise this factory will create servers that listen
* for HTTP requests on port 8080.
*
* @author Phillip Webb
@ -527,7 +527,7 @@ public class JettyServletWebServerFactory extends AbstractServletWebServerFactor
}
/**
* Post process the Jetty {@link WebAppContext} before it used with the Jetty Server.
* Post process the Jetty {@link WebAppContext} before it's used with the Jetty Server.
* Subclasses can override this method to apply additional processing to the
* {@link WebAppContext}.
* @param webAppContext the Jetty {@link WebAppContext}

View File

@ -89,8 +89,8 @@ import org.springframework.util.StringUtils;
* {@link TomcatWebServer}s. Can be initialized using Spring's
* {@link ServletContextInitializer}s or Tomcat {@link LifecycleListener}s.
* <p>
* Unless explicitly configured otherwise this factory will created containers that
* listens for HTTP requests on port 8080.
* Unless explicitly configured otherwise this factory will create containers that
* listen for HTTP requests on port 8080.
*
* @author Phillip Webb
* @author Dave Syer
@ -508,7 +508,7 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
}
/**
* Post process the Tomcat {@link Context} before it used with the Tomcat Server.
* Post process the Tomcat {@link Context} before it's used with the Tomcat Server.
* Subclasses can override this method to apply additional processing to the
* {@link Context}.
* @param context the Tomcat {@link Context}
@ -591,7 +591,7 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
/**
* Returns a mutable collection of the {@link Valve}s that will be applied to the
* Tomcat {@link Engine}.
* @return the engineValves the valves that will be applied
* @return the engine valves that will be applied
*/
public Collection<Valve> getEngineValves() {
return this.engineValves;
@ -619,7 +619,7 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
/**
* Returns a mutable collection of the {@link Valve}s that will be applied to the
* Tomcat {@link Context}.
* @return the contextValves the valves that will be applied
* @return the context valves that will be applied
* @see #getEngineValves()
*/
public Collection<Valve> getContextValves() {
@ -650,7 +650,7 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
/**
* Returns a mutable collection of the {@link LifecycleListener}s that will be applied
* to the Tomcat {@link Context} .
* @return the contextLifecycleListeners the listeners that will be applied
* @return the context lifecycle listeners that will be applied
*/
public Collection<LifecycleListener> getContextLifecycleListeners() {
return this.contextLifecycleListeners;

View File

@ -27,7 +27,7 @@ import org.springframework.context.ApplicationContext;
import org.springframework.web.filter.OncePerRequestFilter;
/**
* {@link OncePerRequestFilter} to add a {@literal X-Application-Context} header that
* {@link OncePerRequestFilter} to add an {@literal X-Application-Context} header that
* contains the {@link ApplicationContext#getId() ApplicationContext ID}.
*
* @author Phillip Webb