Skip to content

Commit 4b6e1fb

Browse files
init size exceptions since we know we only need one
Co-authored-by: Markus Hintersteiner <m.hintersteiner@gmail.com>
1 parent f12b658 commit 4b6e1fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry-android-core/src/main/java/io/sentry/android/core/internal/tombstone/TombstoneParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private List<SentryException> createException(TombstoneProtos.Tombstone tombston
121121
exception.setMechanism(createMechanismFromSignalInfo(signalInfo));
122122
exception.setThreadId((long) tombstone.getTid());
123123

124-
List<SentryException> exceptions = new ArrayList<>();
124+
List<SentryException> exceptions = new ArrayList<>(1);
125125
exceptions.add(exception);
126126

127127
return exceptions;

0 commit comments

Comments
 (0)