diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTagsTests.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTagsTests.java index 023c62957db..7273b9b0f45 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTagsTests.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTagsTests.java @@ -209,13 +209,13 @@ class WebFluxTagsTests { } @Test - void outcomeTagIsClientErrorWhenExceptionIsDisconnectedClient() { + void outcomeTagIsUnknownWhenExceptionIsDisconnectedClient() { Tag tag = WebFluxTags.outcome(this.exchange, new EOFException("broken pipe")); assertThat(tag.getValue()).isEqualTo("UNKNOWN"); } @Test - void outcomeTagIsClientErrorWhenExceptionIsCancelledExchange() { + void outcomeTagIsUnknownWhenExceptionIsCancelledExchange() { Tag tag = WebFluxTags.outcome(this.exchange, new CancelledServerWebExchangeException()); assertThat(tag.getValue()).isEqualTo("UNKNOWN"); } diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/netty/NettyAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/netty/NettyAutoConfigurationTests.java index 609cd3cbc4b..821fd4cba92 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/netty/NettyAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/netty/NettyAutoConfigurationTests.java @@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThat; * * @author Brian Clozel */ -public class NettyAutoConfigurationTests { +class NettyAutoConfigurationTests { private final ApplicationContextRunner contextRunner = new ApplicationContextRunner() .withConfiguration(AutoConfigurations.of(NettyAutoConfiguration.class)); diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc index b2ec37d4f22..8415cd87474 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc @@ -2206,7 +2206,7 @@ To add to the default tags, provide one or more ``@Bean``s that implement `WebMv To replace the default tags, provide a `@Bean` that implements `WebMvcTagsProvider`. TIP: In some cases, exceptions handled in Web controllers are not recorded as request metrics tags. -Applications can opt-in and record exceptions by <>. +Applications can opt-in and record exceptions by <>. @@ -2245,7 +2245,7 @@ To add to the default tags, provide one or more ``@Bean``s that implement `WebFl To replace the default tags, provide a `@Bean` that implements `WebFluxTagsProvider`. TIP: In some cases, exceptions handled in controllers and handler functions are not recorded as request metrics tags. -Applications can opt-in and record exceptions by <>. +Applications can opt-in and record exceptions by <>. diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/ErrorAttributes.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/ErrorAttributes.java index 6dbb37dfc60..3c9a1d5567b 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/ErrorAttributes.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/ErrorAttributes.java @@ -35,7 +35,7 @@ import org.springframework.web.server.ServerWebExchange; public interface ErrorAttributes { /** - * Name of the {@link ServerRequest#attribute(String)} Request attribute} holding the + * Name of the {@link ServerRequest#attribute(String) request attribute} holding the * error resolved by the {@code ErrorAttributes} implementation. * @since 2.5.0 */ diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/error/ErrorAttributes.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/error/ErrorAttributes.java index 0cc12a631be..55f31327ef7 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/error/ErrorAttributes.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/error/ErrorAttributes.java @@ -36,7 +36,7 @@ public interface ErrorAttributes { /** * Name of the {@link javax.servlet.http.HttpServletRequest#getAttribute(String) - * Request attribute} holding the error resolved by the {@code ErrorAttributes} + * request attribute} holding the error resolved by the {@code ErrorAttributes} * implementation. * @since 2.5.0 */