Skip to content

Commit 524edae

Browse files
izeyesnicoll
authored andcommitted
Polish
Closes gh-6728
1 parent 7426579 commit 524edae

File tree

8 files changed

+8
-11
lines changed

8 files changed

+8
-11
lines changed

spring-boot-actuator-docs/src/restdoc/java/org/springframework/boot/actuate/hypermedia/LimitedEnvironmentEndpoint.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public class LimitedEnvironmentEndpoint extends EnvironmentEndpoint {
7373

7474
@Override
7575
public Object sanitize(String name, Object object) {
76-
System.out.println(name);
7776
if (name.equals("gopherProxySet")) {
7877
return object;
7978
}

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/DataSourcePublicMetrics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected String createPrefix(String name, DataSource dataSource, boolean primar
112112

113113
/**
114114
* Attempt to locate the primary {@link DataSource} (i.e. either the only data source
115-
* available or the one amongst the candidates marked as {@link Primary}. Return
115+
* available or the one amongst the candidates marked as {@link Primary}). Return
116116
* {@code null} if there no primary data source could be found.
117117
* @return the primary datasource
118118
*/

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/JdbcTemplateAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import static org.assertj.core.api.Assertions.assertThat;
3939

4040
/**
41-
* Tests for {@link DataSourceAutoConfiguration}.
41+
* Tests for {@link JdbcTemplateAutoConfiguration}.
4242
*
4343
* @author Dave Syer
4444
* @author Stephane Nicoll

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ modules when you add new features to your application.
12431243

12441244
If you want to replace the default `ObjectMapper` completely, either define a `@Bean` of
12451245
that type and mark it as `@Primary`, or, if you prefer the builder-based
1246-
approachd, define a `Jackson2ObjectMapperBuilder` `@Bean`. Note that in either case this
1246+
approach, define a `Jackson2ObjectMapperBuilder` `@Bean`. Note that in either case this
12471247
will disable all auto-configuration of the `ObjectMapper.
12481248

12491249
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
27662766
[[howto-remote-debug-gradle-run]]
27672767
=== Remote debug a Spring Boot application started with Gradle
27682768
To attach a remote debugger to a Spring Boot application started with Gradle you can use
2769-
the `jvmArgs` property of bootRun task OR `--debug-jvm` command line option.
2769+
the `jvmArgs` property of `bootRun` task or `--debug-jvm` command line option.
27702770

27712771
`build.gradle`:
27722772

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5507,7 +5507,7 @@ public class MyTest {
55075507
assertThat(headers.getLocation().toString(), containsString("myotherhost"));
55085508
}
55095509
5510-
@TestConfig
5510+
@TestConfiguration
55115511
static class Config {
55125512
55135513
@Bean

spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/properties/SkipPropertyMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
public enum SkipPropertyMapping {
2626

2727
/**
28-
* Skip the mapping the property.
28+
* Skip mapping the property.
2929
*/
3030
YES,
3131

spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/properties/AnnotationsPropertySourceTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,7 @@ static class PropertyMappedAttributeWithAnAlias {
362362
static @interface AttributeWithAliasAnnotation {
363363

364364
@AliasFor(annotation = AliasedAttributeAnnotation.class, attribute = "value")
365-
String value()
366-
367-
default "foo";
365+
String value() default "foo";
368366

369367
String someOtherAttribute() default "shouldNotBeMapped";
370368

spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/BeanNotOfRequiredTypeFailureAnalyzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/**
2828
* An {@link AbstractFailureAnalyzer} that performs analysis of failures caused by a
29-
* {@link BeanNotOfRequiredTypeFailureAnalyzer}.
29+
* {@link BeanNotOfRequiredTypeException}.
3030
*
3131
* @author Andy Wilkinson
3232
*/

0 commit comments

Comments
 (0)