Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -286,7 +286,7 @@ private boolean hasOption(Option option) {
* @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);
}

Expand All @@ -296,7 +296,7 @@ public static StandardStackTracePrinter rootLast() {
* @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);
}

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

/**
* Holds the stacktrace for a specific throwable and caches things that are expensive
* to calcualte.
* to calculate.
*/
private static final class StackTrace {

Expand Down