diff --git a/core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java b/core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java index 246eb7a47a4..a10c36d80b6 100644 --- a/core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java +++ b/core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java @@ -153,7 +153,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter { /** * Return a new {@link StandardStackTracePrinter} from this one that will print all - * common frames rather the replacing them with the {@literal "... N more"} message. + * common frames rather than replacing them with the {@literal "... N more"} message. * @return a new {@link StandardStackTracePrinter} instance */ public StandardStackTracePrinter withCommonFrames() { @@ -171,7 +171,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter { /** * Return a new {@link StandardStackTracePrinter} from this one that will use ellipses - * to truncate output longer that the specified length. + * to truncate output longer than the specified length. * @param maximumLength the maximum length that can be printed * @return a new {@link StandardStackTracePrinter} instance */ @@ -182,8 +182,8 @@ public final class StandardStackTracePrinter implements StackTracePrinter { } /** - * Return a new {@link StandardStackTracePrinter} from this one that filter frames - * (including caused and suppressed) deeper then the specified maximum. + * Return a new {@link StandardStackTracePrinter} from this one that filters frames + * (including caused and suppressed) deeper than the specified maximum. * @param maximumThrowableDepth the maximum throwable depth * @return a new {@link StandardStackTracePrinter} instance */ @@ -217,7 +217,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter { } /** - * Return a new {@link StandardStackTracePrinter} from this one that print the stack + * Return a new {@link StandardStackTracePrinter} from this one that prints the stack * trace using the specified line separator. * @param lineSeparator the line separator to use * @return a new {@link StandardStackTracePrinter} instance @@ -229,8 +229,8 @@ public final class StandardStackTracePrinter implements StackTracePrinter { } /** - * Return a new {@link StandardStackTracePrinter} from this one uses the specified - * formatter to create a string representation of a throwable. + * Return a new {@link StandardStackTracePrinter} from this one that uses the + * specified formatter to create a string representation of a throwable. * @param formatter the formatter to use * @return a new {@link StandardStackTracePrinter} instance * @see #withLineSeparator(String) @@ -242,8 +242,8 @@ public final class StandardStackTracePrinter implements StackTracePrinter { } /** - * Return a new {@link StandardStackTracePrinter} from this one uses the specified - * formatter to create a string representation of a frame. + * Return a new {@link StandardStackTracePrinter} from this one that uses the + * specified formatter to create a string representation of a frame. * @param frameFormatter the frame formatter to use * @return a new {@link StandardStackTracePrinter} instance * @see #withLineSeparator(String)