Merge pull request #21732 from dreis2211

* pr/21732:
  Polish

Closes gh-21732
pull/21793/head
Phillip Webb 5 years ago
commit a0518d3cb8

@ -21,8 +21,7 @@ import java.io.IOException;
import java.util.function.IntConsumer; import java.util.function.IntConsumer;
/** /**
* Provides access to an opaque to the underling file system representation of an open * Provides access to the underlying file system representation of an open file.
* file.
* *
* @author Phillip Webb * @author Phillip Webb
* @see #acquire() * @see #acquire()

@ -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. * {@linkplain ClientHttpRequest#getBody() request body} internally.
* @param bufferRequestBody value of the bufferRequestBody parameter * @param bufferRequestBody value of the bufferRequestBody parameter
* @return a new builder instance. * @return a new builder instance.

@ -144,7 +144,7 @@ class ConfigurationPropertySourcesTests {
} }
@Test // gh-21416 @Test // gh-21416
void decendantOfPropertyAccessWhenMutableWithCacheShouldBePerformant() { void descendantOfPropertyAccessWhenMutableWithCacheShouldBePerformant() {
StandardEnvironment environment = createPerformanceTestEnvironment(true); StandardEnvironment environment = createPerformanceTestEnvironment(true);
Iterable<ConfigurationPropertySource> sources = ConfigurationPropertySources.get(environment); Iterable<ConfigurationPropertySource> sources = ConfigurationPropertySources.get(environment);
ConfigurationPropertyName missing = ConfigurationPropertyName.of("missing"); ConfigurationPropertyName missing = ConfigurationPropertyName.of("missing");

Loading…
Cancel
Save