From 2b5569f05484f371e0db363b877f4f48e9cdbdab Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Sat, 6 Jun 2020 13:58:30 +0200 Subject: [PATCH] Polish See gh-21732 --- .../boot/buildpack/platform/socket/FileDescriptor.java | 3 +-- .../springframework/boot/web/client/RestTemplateBuilder.java | 2 +- .../properties/source/ConfigurationPropertySourcesTests.java | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/socket/FileDescriptor.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/socket/FileDescriptor.java index fff9dbff90b..69c02b4fc98 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/socket/FileDescriptor.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/socket/FileDescriptor.java @@ -21,8 +21,7 @@ import java.io.IOException; import java.util.function.IntConsumer; /** - * Provides access to an opaque to the underling file system representation of an open - * file. + * Provides access to the underlying file system representation of an open file. * * @author Phillip Webb * @see #acquire() diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java index e186489325e..51c1e9dee73 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java @@ -438,7 +438,7 @@ public class RestTemplateBuilder { } /** - * Sets if the underling {@link ClientHttpRequestFactory} should buffer the + * Sets if the underlying {@link ClientHttpRequestFactory} should buffer the * {@linkplain ClientHttpRequest#getBody() request body} internally. * @param bufferRequestBody value of the bufferRequestBody parameter * @return a new builder instance. diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/source/ConfigurationPropertySourcesTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/source/ConfigurationPropertySourcesTests.java index 0534c700708..158cc428ab6 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/source/ConfigurationPropertySourcesTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/source/ConfigurationPropertySourcesTests.java @@ -144,7 +144,7 @@ class ConfigurationPropertySourcesTests { } @Test // gh-21416 - void decendantOfPropertyAccessWhenMutableWithCacheShouldBePerformant() { + void descendantOfPropertyAccessWhenMutableWithCacheShouldBePerformant() { StandardEnvironment environment = createPerformanceTestEnvironment(true); Iterable sources = ConfigurationPropertySources.get(environment); ConfigurationPropertyName missing = ConfigurationPropertyName.of("missing");