Skip to content

Commit 23b821c

Browse files
committed
Merge pull request spring-projects#44396 from typat
* pr/44396: Fixing typos in StandardStackTracePrinter Closes spring-projectsgh-44396
2 parents ea0eea3 + 6e6d8de commit 23b821c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
4646
private static final ToIntFunction<StackTraceElement> DEFAULT_FRAME_HASHER = (frame) -> Objects
4747
.hash(frame.getClassName(), frame.getMethodName(), frame.getLineNumber());
4848

49-
private static final int UNLIMTED = Integer.MAX_VALUE;
49+
private static final int UNLIMITED = Integer.MAX_VALUE;
5050

5151
private final EnumSet<Option> options;
5252

@@ -286,7 +286,7 @@ private boolean hasOption(Option option) {
286286
* @return a {@link StandardStackTracePrinter} that prints the stack trace root last
287287
*/
288288
public static StandardStackTracePrinter rootLast() {
289-
return new StandardStackTracePrinter(EnumSet.noneOf(Option.class), UNLIMTED, null, null, null, null, null,
289+
return new StandardStackTracePrinter(EnumSet.noneOf(Option.class), UNLIMITED, null, null, null, null, null,
290290
null);
291291
}
292292

@@ -296,7 +296,7 @@ public static StandardStackTracePrinter rootLast() {
296296
* @return a {@link StandardStackTracePrinter} that prints the stack trace root first
297297
*/
298298
public static StandardStackTracePrinter rootFirst() {
299-
return new StandardStackTracePrinter(EnumSet.of(Option.ROOT_FIRST), UNLIMTED, null, null, null, null, null,
299+
return new StandardStackTracePrinter(EnumSet.of(Option.ROOT_FIRST), UNLIMITED, null, null, null, null, null,
300300
null);
301301
}
302302

@@ -385,7 +385,7 @@ void println(String indent, String string) throws IOException {
385385

386386
/**
387387
* Holds the stacktrace for a specific throwable and caches things that are expensive
388-
* to calcualte.
388+
* to calculate.
389389
*/
390390
private static final class StackTrace {
391391

0 commit comments

Comments
 (0)