Browse Source

Merge pull request #49694 from dlwldnjs1009

* jiwon/fix-standard-stack-trace-printer-javadoc:
  Fix typos in StandardStackTracePrinter Javadoc

Closes gh-49694
pull/49710/head
Phillip Webb 2 weeks ago
parent
commit
10df287bbb
  1. 18
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java

18
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java

@ -144,7 +144,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
/** /**
* Return a new {@link StandardStackTracePrinter} from this one that will print all * 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 * @return a new {@link StandardStackTracePrinter} instance
*/ */
public StandardStackTracePrinter withCommonFrames() { public StandardStackTracePrinter withCommonFrames() {
@ -162,7 +162,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
/** /**
* Return a new {@link StandardStackTracePrinter} from this one that will use ellipses * 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 * @param maximumLength the maximum length that can be printed
* @return a new {@link StandardStackTracePrinter} instance * @return a new {@link StandardStackTracePrinter} instance
*/ */
@ -173,8 +173,8 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
} }
/** /**
* Return a new {@link StandardStackTracePrinter} from this one that filter frames * Return a new {@link StandardStackTracePrinter} from this one that filters frames
* (including caused and suppressed) deeper then the specified maximum. * (including caused and suppressed) deeper than the specified maximum.
* @param maximumThrowableDepth the maximum throwable depth * @param maximumThrowableDepth the maximum throwable depth
* @return a new {@link StandardStackTracePrinter} instance * @return a new {@link StandardStackTracePrinter} instance
*/ */
@ -208,7 +208,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. * trace using the specified line separator.
* @param lineSeparator the line separator to use * @param lineSeparator the line separator to use
* @return a new {@link StandardStackTracePrinter} instance * @return a new {@link StandardStackTracePrinter} instance
@ -220,8 +220,8 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
} }
/** /**
* Return a new {@link StandardStackTracePrinter} from this one uses the specified * Return a new {@link StandardStackTracePrinter} from this one that uses the
* formatter to create a string representation of a throwable. * specified formatter to create a string representation of a throwable.
* @param formatter the formatter to use * @param formatter the formatter to use
* @return a new {@link StandardStackTracePrinter} instance * @return a new {@link StandardStackTracePrinter} instance
* @see #withLineSeparator(String) * @see #withLineSeparator(String)
@ -233,8 +233,8 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
} }
/** /**
* Return a new {@link StandardStackTracePrinter} from this one uses the specified * Return a new {@link StandardStackTracePrinter} from this one that uses the
* formatter to create a string representation of a frame. * specified formatter to create a string representation of a frame.
* @param frameFormatter the frame formatter to use * @param frameFormatter the frame formatter to use
* @return a new {@link StandardStackTracePrinter} instance * @return a new {@link StandardStackTracePrinter} instance
* @see #withLineSeparator(String) * @see #withLineSeparator(String)

Loading…
Cancel
Save