Commit 506f6497 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '1.5.x'

parents 24f5125a e1977aa8
...@@ -48,10 +48,10 @@ public class LiquibaseEndpoint extends AbstractEndpoint<List<LiquibaseReport>> { ...@@ -48,10 +48,10 @@ public class LiquibaseEndpoint extends AbstractEndpoint<List<LiquibaseReport>> {
this(Collections.singletonMap("default", liquibase)); this(Collections.singletonMap("default", liquibase));
} }
public LiquibaseEndpoint(Map<String, SpringLiquibase> liquibase) { public LiquibaseEndpoint(Map<String, SpringLiquibase> liquibases) {
super("liquibase"); super("liquibase");
Assert.notEmpty(liquibase, "Liquibase must be specified"); Assert.notEmpty(liquibases, "Liquibases must be specified");
this.liquibases = liquibase; this.liquibases = liquibases;
} }
@Override @Override
......
...@@ -175,7 +175,7 @@ public class EnableAutoConfigurationImportSelector ...@@ -175,7 +175,7 @@ public class EnableAutoConfigurationImportSelector
/** /**
* Handle any invalid excludes that have been specified. * Handle any invalid excludes that have been specified.
* @param invalidExcludes the list of invalid excludes (will always have at least on * @param invalidExcludes the list of invalid excludes (will always have at least one
* element) * element)
*/ */
protected void handleInvalidExcludes(List<String> invalidExcludes) { protected void handleInvalidExcludes(List<String> invalidExcludes) {
......
...@@ -73,7 +73,7 @@ public class CacheManagerCustomizers { ...@@ -73,7 +73,7 @@ public class CacheManagerCustomizers {
} }
catch (ClassCastException ex) { catch (ClassCastException ex) {
// Possibly a lambda-defined customizer which we could not resolve the generic // Possibly a lambda-defined customizer which we could not resolve the generic
// event type for // cache manager type for
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug( logger.debug(
"Non-matching cache manager type for customizer: " + customizer, "Non-matching cache manager type for customizer: " + customizer,
......
...@@ -62,7 +62,7 @@ final class DatabaseLookup { ...@@ -62,7 +62,7 @@ final class DatabaseLookup {
/** /**
* Return the most suitable {@link Database} for the given {@link DataSource}. * Return the most suitable {@link Database} for the given {@link DataSource}.
* @param dataSource the source {@link DataSource} * @param dataSource the source {@link DataSource}
* @return the most sutable {@link Database} * @return the most suitable {@link Database}
*/ */
public static Database getDatabase(DataSource dataSource) { public static Database getDatabase(DataSource dataSource) {
if (dataSource == null) { if (dataSource == null) {
......
...@@ -67,7 +67,7 @@ public class TransactionManagerCustomizers { ...@@ -67,7 +67,7 @@ public class TransactionManagerCustomizers {
} }
catch (ClassCastException ex) { catch (ClassCastException ex) {
// Possibly a lambda-defined customizer which we could not resolve the generic // Possibly a lambda-defined customizer which we could not resolve the generic
// event type for // transaction manager type for
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("Non-matching transaction manager type for customizer: " logger.debug("Non-matching transaction manager type for customizer: "
+ customizer, ex); + customizer, ex);
......
...@@ -71,7 +71,7 @@ public class ClassLoaderFilesResourcePatternResolverTests { ...@@ -71,7 +71,7 @@ public class ClassLoaderFilesResourcePatternResolverTests {
} }
@Test @Test
public void getResourceWhenHasServeletContextShouldReturnServletResource() public void getResourceWhenHasServletContextShouldReturnServletResource()
throws Exception { throws Exception {
GenericWebApplicationContext context = new GenericWebApplicationContext( GenericWebApplicationContext context = new GenericWebApplicationContext(
new MockServletContext()); new MockServletContext());
......
...@@ -2074,7 +2074,7 @@ add a special `{vendor}` placeholder to use vendor-specific scripts. Assume the ...@@ -2074,7 +2074,7 @@ add a special `{vendor}` placeholder to use vendor-specific scripts. Assume the
---- ----
Rather than using `db/migration`, this configuration will set the folder to use according Rather than using `db/migration`, this configuration will set the folder to use according
to the type of the database (i.e. `db/migration/mysql` for MySql). The list of supported to the type of the database (i.e. `db/migration/mysql` for MySQL). The list of supported
database are available in {sc-spring-boot}/jdbc/DatabaseDriver.{sc-ext}[`DatabaseDriver`]. database are available in {sc-spring-boot}/jdbc/DatabaseDriver.{sc-ext}[`DatabaseDriver`].
See also the Flyway class from flyway-core for details of available settings like schemas See also the Flyway class from flyway-core for details of available settings like schemas
......
...@@ -57,7 +57,7 @@ public class WebMvcTestWebDriverCustomScopeIntegrationTests { ...@@ -57,7 +57,7 @@ public class WebMvcTestWebDriverCustomScopeIntegrationTests {
} }
@Test @Test
public void shouldBeADifferentWebClient() throws Exception { public void shouldBeTheSameWebClient() throws Exception {
assertThat(previousWebDriver).isNotNull().isSameAs(this.webDriver); assertThat(previousWebDriver).isNotNull().isSameAs(this.webDriver);
} }
......
...@@ -168,7 +168,7 @@ public class TestRestTemplateTests { ...@@ -168,7 +168,7 @@ public class TestRestTemplateTests {
@Test @Test
public void withBasicAuthReplacesBasicAuthInterceptorWhenAlreadyPresent() { public void withBasicAuthReplacesBasicAuthInterceptorWhenAlreadyPresent() {
TestRestTemplate original = new TestRestTemplate("foo", "bar") TestRestTemplate original = new TestRestTemplate("foo", "bar")
.withBasicAuth("replace", "repalce"); .withBasicAuth("replace", "replace");
TestRestTemplate basicAuth = original.withBasicAuth("user", "password"); TestRestTemplate basicAuth = original.withBasicAuth("user", "password");
assertThat(basicAuth.getRestTemplate().getMessageConverters()) assertThat(basicAuth.getRestTemplate().getMessageConverters())
.containsExactlyElementsOf( .containsExactlyElementsOf(
......
...@@ -125,8 +125,8 @@ public class Repackager { ...@@ -125,8 +125,8 @@ public class Repackager {
/** /**
* Sets the layout factory for the jar. The factory can be used when no specific * Sets the layout factory for the jar. The factory can be used when no specific
* layout is specific. * layout is specified.
* @param layoutFactory the layoutFactory to set * @param layoutFactory the layout factory to set
*/ */
public void setLayoutFactory(LayoutFactory layoutFactory) { public void setLayoutFactory(LayoutFactory layoutFactory) {
this.layoutFactory = layoutFactory; this.layoutFactory = layoutFactory;
......
...@@ -144,7 +144,7 @@ public class SpringProfileDocumentMatcher implements DocumentMatcher { ...@@ -144,7 +144,7 @@ public class SpringProfileDocumentMatcher implements DocumentMatcher {
} }
/** /**
* {@link ProfileMatcher} that matches when a value in {@code spring.profiles} is also * {@link ProfilesMatcher} that matches when a value in {@code spring.profiles} is also
* in {@code spring.profiles.active}. * in {@code spring.profiles.active}.
*/ */
private static class ActiveProfilesMatcher extends ProfilesMatcher { private static class ActiveProfilesMatcher extends ProfilesMatcher {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment