From 898a903d2febf6320b25f8ee9870405fd48b68df Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Fri, 31 May 2019 15:17:55 -0700 Subject: [PATCH] Fix typos in javadoc --- .../org/springframework/boot/test/system/CapturedOutput.java | 2 +- .../org/springframework/boot/test/system/OutputCapture.java | 2 +- .../boot/test/system/OutputCaptureExtension.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/CapturedOutput.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/CapturedOutput.java index 440ab76823..166cb70e7b 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/CapturedOutput.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/CapturedOutput.java @@ -18,7 +18,7 @@ package org.springframework.boot.test.system; /** * Provides access to {@link System#out System.out} and {@link System#err System.err} - * output that has been capture by the {@link OutputCaptureExtension}. Can be used to + * output that has been captured by the {@link OutputCaptureExtension}. Can be used to * apply assertions either using AssertJ or standard JUnit assertions. For example: *
  * assertThat(output).contains("started"); // Checks all output
diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCapture.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCapture.java
index 9c58eca99f..4879757940 100644
--- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCapture.java
+++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCapture.java
@@ -276,7 +276,7 @@ class OutputCapture implements CapturedOutput {
 	}
 
 	/**
-	 * Save disable and restore AnsiOutput without it needing to be on the classpath.
+	 * Save, disable and restore AnsiOutput without it needing to be on the classpath.
 	 */
 	private static class AnsiOutputState {
 
diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCaptureExtension.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCaptureExtension.java
index af5754f208..a5672ee5e2 100644
--- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCaptureExtension.java
+++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/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