Skip to content

Commit ec16725

Browse files
dlwldnjs1009philwebb
authored andcommitted
Fix typos in StandardStackTracePrinter Javadoc
See gh-49694 Signed-off-by: Lee Jiwon <dlwldnjs1009@gmail.com>
1 parent f0a02cd commit ec16725

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private void printFrames(Print print, StackTrace stackTrace, StackTrace enclosin
144144

145145
/**
146146
* Return a new {@link StandardStackTracePrinter} from this one that will print all
147-
* common frames rather the replacing them with the {@literal "... N more"} message.
147+
* common frames rather than replacing them with the {@literal "... N more"} message.
148148
* @return a new {@link StandardStackTracePrinter} instance
149149
*/
150150
public StandardStackTracePrinter withCommonFrames() {
@@ -162,7 +162,7 @@ public StandardStackTracePrinter withoutSuppressed() {
162162

163163
/**
164164
* Return a new {@link StandardStackTracePrinter} from this one that will use ellipses
165-
* to truncate output longer that the specified length.
165+
* to truncate output longer than the specified length.
166166
* @param maximumLength the maximum length that can be printed
167167
* @return a new {@link StandardStackTracePrinter} instance
168168
*/
@@ -173,8 +173,8 @@ public StandardStackTracePrinter withMaximumLength(int maximumLength) {
173173
}
174174

175175
/**
176-
* Return a new {@link StandardStackTracePrinter} from this one that filter frames
177-
* (including caused and suppressed) deeper then the specified maximum.
176+
* Return a new {@link StandardStackTracePrinter} from this one that filters frames
177+
* (including caused and suppressed) deeper than the specified maximum.
178178
* @param maximumThrowableDepth the maximum throwable depth
179179
* @return a new {@link StandardStackTracePrinter} instance
180180
*/
@@ -208,7 +208,7 @@ public StandardStackTracePrinter withFrameFilter(BiPredicate<Integer, StackTrace
208208
}
209209

210210
/**
211-
* Return a new {@link StandardStackTracePrinter} from this one that print the stack
211+
* Return a new {@link StandardStackTracePrinter} from this one that prints the stack
212212
* trace using the specified line separator.
213213
* @param lineSeparator the line separator to use
214214
* @return a new {@link StandardStackTracePrinter} instance
@@ -220,8 +220,8 @@ public StandardStackTracePrinter withLineSeparator(String lineSeparator) {
220220
}
221221

222222
/**
223-
* Return a new {@link StandardStackTracePrinter} from this one uses the specified
224-
* formatter to create a string representation of a throwable.
223+
* Return a new {@link StandardStackTracePrinter} from this one that uses the
224+
* specified formatter to create a string representation of a throwable.
225225
* @param formatter the formatter to use
226226
* @return a new {@link StandardStackTracePrinter} instance
227227
* @see #withLineSeparator(String)
@@ -233,8 +233,8 @@ public StandardStackTracePrinter withFormatter(Function<Throwable, String> forma
233233
}
234234

235235
/**
236-
* Return a new {@link StandardStackTracePrinter} from this one uses the specified
237-
* formatter to create a string representation of a frame.
236+
* Return a new {@link StandardStackTracePrinter} from this one that uses the
237+
* specified formatter to create a string representation of a frame.
238238
* @param frameFormatter the frame formatter to use
239239
* @return a new {@link StandardStackTracePrinter} instance
240240
* @see #withLineSeparator(String)

0 commit comments

Comments
 (0)