Skip to content

Commit 0fed29d

Browse files
committed
Merge pull request #27925 from dreis2211
* pr/27925: Polish javadoc comments Closes gh-27925
2 parents 12c197d + e1afc91 commit 0fed29d

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jackson/JacksonProperties.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public class JacksonProperties {
9898
private Boolean defaultLeniency;
9999

100100
/**
101-
* Strategy to use to to auto-detect constructor, and in particular behavior with
101+
* Strategy to use to auto-detect constructor, and in particular behavior with
102102
* single-argument constructors.
103103
*/
104104
private ConstructorDetectorStrategy constructorDetector;

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLoader.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@
2626
import org.springframework.boot.logging.DeferredLogFactory;
2727

2828
/**
29-
* Strategy class that can be used used to load {@link ConfigData} for a given
30-
* {@link ConfigDataResource}. Implementations should be added as a
31-
* {@code spring.factories} entries. The following constructor parameter types are
32-
* supported:
29+
* Strategy class that can be used to load {@link ConfigData} for a given
30+
* {@link ConfigDataResource}. Implementations should be added as {@code spring.factories}
31+
* entries. The following constructor parameter types are supported:
3332
* <ul>
3433
* <li>{@link Log} or {@link DeferredLogFactory} - if the loader needs deferred
3534
* logging</li>

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLocation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private ConfigDataLocation(boolean optional, String value, Origin origin) {
5353
}
5454

5555
/**
56-
* Return the the location is optional and should ignore
56+
* Return if the location is optional and should ignore
5757
* {@link ConfigDataNotFoundException}.
5858
* @return if the location is optional
5959
*/

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/NotConstructorBoundInjectionFailureAnalyzer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
2929
import org.springframework.core.annotation.MergedAnnotations;
3030

3131
/**
32-
* An {@AbstractInjectionFailureAnalyzer} for
32+
* An {@link AbstractInjectionFailureAnalyzer} for
3333
* {@link ConfigurationProperties @ConfigurationProperties} that are intended to use
3434
* {@link ConstructorBinding constructor binding} but did not.
3535
*

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/ConfigTreePropertySource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public interface Value extends CharSequence, InputStreamSource {
165165
}
166166

167167
/**
168-
* A single property file that was found when when the source was created.
168+
* A single property file that was found when the source was created.
169169
*/
170170
private static final class PropertyFile {
171171

spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/assertions/ContainerConfigAssert.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ public AbstractObjectAssert<?, Object> processOfType(String type) {
108108
}
109109

110110
/**
111-
* Asserts for the the JSON content in the {@code io.buildpacks.lifecycle.metadata}
112-
* label.
111+
* Asserts for the JSON content in the {@code io.buildpacks.lifecycle.metadata} label.
113112
*
114113
* See <a href=
115114
* "https://github.com/buildpacks/spec/blob/main/platform.md#iobuildpackslifecyclemetadata-json">the

0 commit comments

Comments
 (0)