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
3d04fbc0
Commit
3d04fbc0
authored
Aug 23, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6728 from izeye:polish-20160823
* pr/6728: Polish
parents
74265798
524edaea
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
11 deletions
+8
-11
LimitedEnvironmentEndpoint.java
...k/boot/actuate/hypermedia/LimitedEnvironmentEndpoint.java
+0
-1
DataSourcePublicMetrics.java
...mework/boot/actuate/endpoint/DataSourcePublicMetrics.java
+1
-1
JdbcTemplateAutoConfigurationTests.java
...utoconfigure/jdbc/JdbcTemplateAutoConfigurationTests.java
+1
-1
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+2
-2
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+1
-1
SkipPropertyMapping.java
...ot/test/autoconfigure/properties/SkipPropertyMapping.java
+1
-1
AnnotationsPropertySourceTests.java
...oconfigure/properties/AnnotationsPropertySourceTests.java
+1
-3
BeanNotOfRequiredTypeFailureAnalyzer.java
...ostics/analyzer/BeanNotOfRequiredTypeFailureAnalyzer.java
+1
-1
No files found.
spring-boot-actuator-docs/src/restdoc/java/org/springframework/boot/actuate/hypermedia/LimitedEnvironmentEndpoint.java
View file @
3d04fbc0
...
@@ -73,7 +73,6 @@ public class LimitedEnvironmentEndpoint extends EnvironmentEndpoint {
...
@@ -73,7 +73,6 @@ public class LimitedEnvironmentEndpoint extends EnvironmentEndpoint {
@Override
@Override
public
Object
sanitize
(
String
name
,
Object
object
)
{
public
Object
sanitize
(
String
name
,
Object
object
)
{
System
.
out
.
println
(
name
);
if
(
name
.
equals
(
"gopherProxySet"
))
{
if
(
name
.
equals
(
"gopherProxySet"
))
{
return
object
;
return
object
;
}
}
...
...
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/DataSourcePublicMetrics.java
View file @
3d04fbc0
...
@@ -112,7 +112,7 @@ public class DataSourcePublicMetrics implements PublicMetrics {
...
@@ -112,7 +112,7 @@ public class DataSourcePublicMetrics implements PublicMetrics {
/**
/**
* Attempt to locate the primary {@link DataSource} (i.e. either the only data source
* Attempt to locate the primary {@link DataSource} (i.e. either the only data source
* available or the one amongst the candidates marked as {@link Primary}. Return
* available or the one amongst the candidates marked as {@link Primary}
)
. Return
* {@code null} if there no primary data source could be found.
* {@code null} if there no primary data source could be found.
* @return the primary datasource
* @return the primary datasource
*/
*/
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/JdbcTemplateAutoConfigurationTests.java
View file @
3d04fbc0
...
@@ -38,7 +38,7 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
...
@@ -38,7 +38,7 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import
static
org
.
assertj
.
core
.
api
.
Assertions
.
assertThat
;
import
static
org
.
assertj
.
core
.
api
.
Assertions
.
assertThat
;
/**
/**
* Tests for {@link
DataSourc
eAutoConfiguration}.
* Tests for {@link
JdbcTemplat
eAutoConfiguration}.
*
*
* @author Dave Syer
* @author Dave Syer
* @author Stephane Nicoll
* @author Stephane Nicoll
...
...
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
3d04fbc0
...
@@ -1243,7 +1243,7 @@ modules when you add new features to your application.
...
@@ -1243,7 +1243,7 @@ modules when you add new features to your application.
If you want to replace the default `ObjectMapper` completely, either define a `@Bean` of
If you want to replace the default `ObjectMapper` completely, either define a `@Bean` of
that type and mark it as `@Primary`, or, if you prefer the builder-based
that type and mark it as `@Primary`, or, if you prefer the builder-based
approach
d
, define a `Jackson2ObjectMapperBuilder` `@Bean`. Note that in either case this
approach, define a `Jackson2ObjectMapperBuilder` `@Bean`. Note that in either case this
will disable all auto-configuration of the `ObjectMapper.
will disable all auto-configuration of the `ObjectMapper.
If you provide any `@Beans` of type `MappingJackson2HttpMessageConverter` then
If you provide any `@Beans` of type `MappingJackson2HttpMessageConverter` then
...
@@ -2766,7 +2766,7 @@ Check {spring-boot-maven-plugin-site}/examples/run-debug.html[this example] for
...
@@ -2766,7 +2766,7 @@ Check {spring-boot-maven-plugin-site}/examples/run-debug.html[this example] for
[[howto-remote-debug-gradle-run]]
[[howto-remote-debug-gradle-run]]
=== Remote debug a Spring Boot application started with Gradle
=== Remote debug a Spring Boot application started with Gradle
To attach a remote debugger to a Spring Boot application started with Gradle you can use
To attach a remote debugger to a Spring Boot application started with Gradle you can use
the `jvmArgs` property of
bootRun task OR
`--debug-jvm` command line option.
the `jvmArgs` property of
`bootRun` task or
`--debug-jvm` command line option.
`build.gradle`:
`build.gradle`:
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
3d04fbc0
...
@@ -5507,7 +5507,7 @@ public class MyTest {
...
@@ -5507,7 +5507,7 @@ public class MyTest {
assertThat(headers.getLocation().toString(), containsString("myotherhost"));
assertThat(headers.getLocation().toString(), containsString("myotherhost"));
}
}
@TestConfig
@TestConfig
uration
static class Config {
static class Config {
@Bean
@Bean
...
...
spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/properties/SkipPropertyMapping.java
View file @
3d04fbc0
...
@@ -25,7 +25,7 @@ package org.springframework.boot.test.autoconfigure.properties;
...
@@ -25,7 +25,7 @@ package org.springframework.boot.test.autoconfigure.properties;
public
enum
SkipPropertyMapping
{
public
enum
SkipPropertyMapping
{
/**
/**
* Skip
the
mapping the property.
* Skip mapping the property.
*/
*/
YES
,
YES
,
...
...
spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/properties/AnnotationsPropertySourceTests.java
View file @
3d04fbc0
...
@@ -362,9 +362,7 @@ public class AnnotationsPropertySourceTests {
...
@@ -362,9 +362,7 @@ public class AnnotationsPropertySourceTests {
static
@interface
AttributeWithAliasAnnotation
{
static
@interface
AttributeWithAliasAnnotation
{
@AliasFor
(
annotation
=
AliasedAttributeAnnotation
.
class
,
attribute
=
"value"
)
@AliasFor
(
annotation
=
AliasedAttributeAnnotation
.
class
,
attribute
=
"value"
)
String
value
()
String
value
()
default
"foo"
;
default
"foo"
;
String
someOtherAttribute
()
default
"shouldNotBeMapped"
;
String
someOtherAttribute
()
default
"shouldNotBeMapped"
;
...
...
spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/BeanNotOfRequiredTypeFailureAnalyzer.java
View file @
3d04fbc0
...
@@ -26,7 +26,7 @@ import org.springframework.boot.diagnostics.FailureAnalysis;
...
@@ -26,7 +26,7 @@ import org.springframework.boot.diagnostics.FailureAnalysis;
/**
/**
* An {@link AbstractFailureAnalyzer} that performs analysis of failures caused by a
* An {@link AbstractFailureAnalyzer} that performs analysis of failures caused by a
* {@link BeanNotOfRequiredType
FailureAnalyzer
}.
* {@link BeanNotOfRequiredType
Exception
}.
*
*
* @author Andy Wilkinson
* @author Andy Wilkinson
*/
*/
...
...
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