Skip to content

Commit eff95e9

Browse files
committed
Merge branch '4.0.x'
Closes gh-49698
2 parents b26fe83 + e464348 commit eff95e9

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

core/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
@@ -153,7 +153,7 @@ private void printFrames(Print print, StackTrace stackTrace, @Nullable StackTrac
153153

154154
/**
155155
* Return a new {@link StandardStackTracePrinter} from this one that will print all
156-
* common frames rather the replacing them with the {@literal "... N more"} message.
156+
* common frames rather than replacing them with the {@literal "... N more"} message.
157157
* @return a new {@link StandardStackTracePrinter} instance
158158
*/
159159
public StandardStackTracePrinter withCommonFrames() {
@@ -171,7 +171,7 @@ public StandardStackTracePrinter withoutSuppressed() {
171171

172172
/**
173173
* Return a new {@link StandardStackTracePrinter} from this one that will use ellipses
174-
* to truncate output longer that the specified length.
174+
* to truncate output longer than the specified length.
175175
* @param maximumLength the maximum length that can be printed
176176
* @return a new {@link StandardStackTracePrinter} instance
177177
*/
@@ -182,8 +182,8 @@ public StandardStackTracePrinter withMaximumLength(int maximumLength) {
182182
}
183183

184184
/**
185-
* Return a new {@link StandardStackTracePrinter} from this one that filter frames
186-
* (including caused and suppressed) deeper then the specified maximum.
185+
* Return a new {@link StandardStackTracePrinter} from this one that filters frames
186+
* (including caused and suppressed) deeper than the specified maximum.
187187
* @param maximumThrowableDepth the maximum throwable depth
188188
* @return a new {@link StandardStackTracePrinter} instance
189189
*/
@@ -217,7 +217,7 @@ public StandardStackTracePrinter withFrameFilter(BiPredicate<Integer, StackTrace
217217
}
218218

219219
/**
220-
* Return a new {@link StandardStackTracePrinter} from this one that print the stack
220+
* Return a new {@link StandardStackTracePrinter} from this one that prints the stack
221221
* trace using the specified line separator.
222222
* @param lineSeparator the line separator to use
223223
* @return a new {@link StandardStackTracePrinter} instance
@@ -229,8 +229,8 @@ public StandardStackTracePrinter withLineSeparator(String lineSeparator) {
229229
}
230230

231231
/**
232-
* Return a new {@link StandardStackTracePrinter} from this one uses the specified
233-
* formatter to create a string representation of a throwable.
232+
* Return a new {@link StandardStackTracePrinter} from this one that uses the
233+
* specified formatter to create a string representation of a throwable.
234234
* @param formatter the formatter to use
235235
* @return a new {@link StandardStackTracePrinter} instance
236236
* @see #withLineSeparator(String)
@@ -242,8 +242,8 @@ public StandardStackTracePrinter withFormatter(Function<Throwable, String> forma
242242
}
243243

244244
/**
245-
* Return a new {@link StandardStackTracePrinter} from this one uses the specified
246-
* formatter to create a string representation of a frame.
245+
* Return a new {@link StandardStackTracePrinter} from this one that uses the
246+
* specified formatter to create a string representation of a frame.
247247
* @param frameFormatter the frame formatter to use
248248
* @return a new {@link StandardStackTracePrinter} instance
249249
* @see #withLineSeparator(String)

0 commit comments

Comments
 (0)