mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-02 19:30:23 +01:00
Fixing typos in StandardStackTracePrinter
See gh-44396 Signed-off-by: Tyler Gregory <tyler.w.gregory@gmail.com>
This commit is contained in:
committed by
Stéphane Nicoll
parent
ea0eea371d
commit
6e6d8de8ed
+4
-4
@@ -46,7 +46,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
|
||||
private static final ToIntFunction<StackTraceElement> DEFAULT_FRAME_HASHER = (frame) -> Objects
|
||||
.hash(frame.getClassName(), frame.getMethodName(), frame.getLineNumber());
|
||||
|
||||
private static final int UNLIMTED = Integer.MAX_VALUE;
|
||||
private static final int UNLIMITED = Integer.MAX_VALUE;
|
||||
|
||||
private final EnumSet<Option> options;
|
||||
|
||||
@@ -286,7 +286,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
|
||||
* @return a {@link StandardStackTracePrinter} that prints the stack trace root last
|
||||
*/
|
||||
public static StandardStackTracePrinter rootLast() {
|
||||
return new StandardStackTracePrinter(EnumSet.noneOf(Option.class), UNLIMTED, null, null, null, null, null,
|
||||
return new StandardStackTracePrinter(EnumSet.noneOf(Option.class), UNLIMITED, null, null, null, null, null,
|
||||
null);
|
||||
}
|
||||
|
||||
@@ -296,7 +296,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
|
||||
* @return a {@link StandardStackTracePrinter} that prints the stack trace root first
|
||||
*/
|
||||
public static StandardStackTracePrinter rootFirst() {
|
||||
return new StandardStackTracePrinter(EnumSet.of(Option.ROOT_FIRST), UNLIMTED, null, null, null, null, null,
|
||||
return new StandardStackTracePrinter(EnumSet.of(Option.ROOT_FIRST), UNLIMITED, null, null, null, null, null,
|
||||
null);
|
||||
}
|
||||
|
||||
@@ -385,7 +385,7 @@ public final class StandardStackTracePrinter implements StackTracePrinter {
|
||||
|
||||
/**
|
||||
* Holds the stacktrace for a specific throwable and caches things that are expensive
|
||||
* to calcualte.
|
||||
* to calculate.
|
||||
*/
|
||||
private static final class StackTrace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user