From ed7cfedb519b6086bce343318fa52827037c6491 Mon Sep 17 00:00:00 2001 From: Andreas Gebhardt Date: Fri, 5 Jul 2019 19:22:16 +0200 Subject: [PATCH] Fix JavaDoc within spring-boot-test-support See gh-17443 --- .../springframework/boot/testsupport/system/OutputCapture.java | 2 +- .../boot/testsupport/system/OutputCaptureExtension.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCapture.java b/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCapture.java index 13f9b469ee..2b52cde617 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCapture.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCapture.java @@ -122,7 +122,7 @@ class OutputCapture implements CapturedOutput { } /** - * A capture session that captures {@link System#out System.out} and {@link System#out + * A capture session that captures {@link System#out System.out} and {@link System#err * System.err}. */ private static class SystemCapture { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCaptureExtension.java b/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCaptureExtension.java index d990d4b953..a85929b4e0 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCaptureExtension.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCaptureExtension.java @@ -37,7 +37,7 @@ import org.junit.jupiter.api.extension.ParameterResolver; * argument to your test class constructor or test method: * *
- * @ExtendWith(OutputExtension.class)
+ * @ExtendWith(OutputCaptureExtension.class)
  * class MyTest {
  *
  *     @Test