Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
e1977aa8
Commit
e1977aa8
authored
Jan 04, 2017
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7854 from izeye:polish-20170104
* pr/7854: Polish
parents
530c3cd3
f915ae19
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
14 additions
and
14 deletions
+14
-14
LiquibaseEndpoint.java
...ingframework/boot/actuate/endpoint/LiquibaseEndpoint.java
+3
-3
EnableAutoConfigurationImportSelector.java
.../autoconfigure/EnableAutoConfigurationImportSelector.java
+1
-1
CacheManagerCustomizers.java
...ork/boot/autoconfigure/cache/CacheManagerCustomizers.java
+1
-1
DatabaseLookup.java
...gframework/boot/autoconfigure/orm/jpa/DatabaseLookup.java
+1
-1
TransactionManagerCustomizers.java
...oconfigure/transaction/TransactionManagerCustomizers.java
+1
-1
ClassLoaderFilesResourcePatternResolverTests.java
...restart/ClassLoaderFilesResourcePatternResolverTests.java
+1
-1
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+1
-1
WebMvcTestWebDriverCustomScopeIntegrationTests.java
...rvlet/WebMvcTestWebDriverCustomScopeIntegrationTests.java
+1
-1
TestRestTemplateTests.java
...framework/boot/test/web/client/TestRestTemplateTests.java
+1
-1
Repackager.java
...ava/org/springframework/boot/loader/tools/Repackager.java
+2
-2
SpringProfileDocumentMatcher.java
...ringframework/boot/yaml/SpringProfileDocumentMatcher.java
+1
-1
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/LiquibaseEndpoint.java
View file @
e1977aa8
...
...
@@ -48,10 +48,10 @@ public class LiquibaseEndpoint extends AbstractEndpoint<List<LiquibaseReport>> {
this
(
Collections
.
singletonMap
(
"default"
,
liquibase
));
}
public
LiquibaseEndpoint
(
Map
<
String
,
SpringLiquibase
>
liquibase
)
{
public
LiquibaseEndpoint
(
Map
<
String
,
SpringLiquibase
>
liquibase
s
)
{
super
(
"liquibase"
);
Assert
.
notEmpty
(
liquibase
,
"Liquibase
must be specified"
);
this
.
liquibases
=
liquibase
;
Assert
.
notEmpty
(
liquibase
s
,
"Liquibases
must be specified"
);
this
.
liquibases
=
liquibase
s
;
}
@Override
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/EnableAutoConfigurationImportSelector.java
View file @
e1977aa8
...
...
@@ -175,7 +175,7 @@ public class EnableAutoConfigurationImportSelector
/**
* 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 on
e
* element)
*/
protected
void
handleInvalidExcludes
(
List
<
String
>
invalidExcludes
)
{
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheManagerCustomizers.java
View file @
e1977aa8
...
...
@@ -73,7 +73,7 @@ public class CacheManagerCustomizers {
}
catch
(
ClassCastException
ex
)
{
// Possibly a lambda-defined customizer which we could not resolve the generic
//
event
type for
//
cache manager
type for
if
(
logger
.
isDebugEnabled
())
{
logger
.
debug
(
"Non-matching cache manager type for customizer: "
+
customizer
,
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/DatabaseLookup.java
View file @
e1977aa8
...
...
@@ -62,7 +62,7 @@ final class DatabaseLookup {
/**
* Return the most suitable {@link Database} for the given {@link DataSource}.
* @param dataSource the source {@link DataSource}
* @return the most sutable {@link Database}
* @return the most su
i
table {@link Database}
*/
public
static
Database
getDatabase
(
DataSource
dataSource
)
{
if
(
dataSource
==
null
)
{
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/TransactionManagerCustomizers.java
View file @
e1977aa8
...
...
@@ -67,7 +67,7 @@ public class TransactionManagerCustomizers {
}
catch
(
ClassCastException
ex
)
{
// Possibly a lambda-defined customizer which we could not resolve the generic
//
event
type for
//
transaction manager
type for
if
(
logger
.
isDebugEnabled
())
{
logger
.
debug
(
"Non-matching transaction manager type for customizer: "
+
customizer
,
ex
);
...
...
spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ClassLoaderFilesResourcePatternResolverTests.java
View file @
e1977aa8
...
...
@@ -71,7 +71,7 @@ public class ClassLoaderFilesResourcePatternResolverTests {
}
@Test
public
void
getResourceWhenHasServ
e
letContextShouldReturnServletResource
()
public
void
getResourceWhenHasServletContextShouldReturnServletResource
()
throws
Exception
{
GenericWebApplicationContext
context
=
new
GenericWebApplicationContext
(
new
MockServletContext
());
...
...
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
e1977aa8
...
...
@@ -2076,7 +2076,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
to the type of the database (i.e. `db/migration/mysql` for MyS
ql
). The list of supported
to the type of the database (i.e. `db/migration/mysql` for MyS
QL
). The list of supported
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
...
...
spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestWebDriverCustomScopeIntegrationTests.java
View file @
e1977aa8
...
...
@@ -57,7 +57,7 @@ public class WebMvcTestWebDriverCustomScopeIntegrationTests {
}
@Test
public
void
shouldBe
ADifferent
WebClient
()
throws
Exception
{
public
void
shouldBe
TheSame
WebClient
()
throws
Exception
{
assertThat
(
previousWebDriver
).
isNotNull
().
isSameAs
(
this
.
webDriver
);
}
...
...
spring-boot-test/src/test/java/org/springframework/boot/test/web/client/TestRestTemplateTests.java
View file @
e1977aa8
...
...
@@ -168,7 +168,7 @@ public class TestRestTemplateTests {
@Test
public
void
withBasicAuthReplacesBasicAuthInterceptorWhenAlreadyPresent
()
{
TestRestTemplate
original
=
new
TestRestTemplate
(
"foo"
,
"bar"
)
.
withBasicAuth
(
"replace"
,
"rep
al
ce"
);
.
withBasicAuth
(
"replace"
,
"rep
la
ce"
);
TestRestTemplate
basicAuth
=
original
.
withBasicAuth
(
"user"
,
"password"
);
assertThat
(
basicAuth
.
getRestTemplate
().
getMessageConverters
())
.
containsExactlyElementsOf
(
...
...
spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java
View file @
e1977aa8
...
...
@@ -126,8 +126,8 @@ public class Repackager {
/**
* Sets the layout factory for the jar. The factory can be used when no specific
* layout is specifi
c
.
* @param layoutFactory the layout
F
actory to set
* layout is specifi
ed
.
* @param layoutFactory the layout
f
actory to set
*/
public
void
setLayoutFactory
(
LayoutFactory
layoutFactory
)
{
this
.
layoutFactory
=
layoutFactory
;
...
...
spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java
View file @
e1977aa8
...
...
@@ -144,7 +144,7 @@ public class SpringProfileDocumentMatcher implements DocumentMatcher {
}
/**
* {@link ProfileMatcher} that matches when a value in {@code spring.profiles} is also
* {@link Profile
s
Matcher} that matches when a value in {@code spring.profiles} is also
* in {@code spring.profiles.active}.
*/
private
static
class
ActiveProfilesMatcher
extends
ProfilesMatcher
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment