Skip to content

Commit af4060d

Browse files
committed
Format code
1 parent 90fa44c commit af4060d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry/src/main/java/io/sentry/util/EventSizeLimitingUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ private static boolean isSizeOk(
157157
if (stacktrace != null) {
158158
final @Nullable List<SentryStackFrame> frames = stacktrace.getFrames();
159159
if (frames != null && frames.size() > (FRAMES_PER_SIDE * 2)) {
160-
final @NotNull List<SentryStackFrame> truncatedFrames = new ArrayList<>(FRAMES_PER_SIDE * 2);
160+
final @NotNull List<SentryStackFrame> truncatedFrames =
161+
new ArrayList<>(FRAMES_PER_SIDE * 2);
161162
truncatedFrames.addAll(frames.subList(0, FRAMES_PER_SIDE));
162163
truncatedFrames.addAll(frames.subList(frames.size() - FRAMES_PER_SIDE, frames.size()));
163164
stacktrace.setFrames(truncatedFrames);

0 commit comments

Comments
 (0)