Skip to content

Commit 4066c5e

Browse files
fix(core): Fix 9.x.x compile error in SentryTracer.hasAllChildrenFinished (#6595)
#6417 replaced Span.getOptions() with Span.isIdle(), but #6415 merged right after and brought back the old span.getOptions().isIdle() call, so 9.x.x no longer compiles. Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Alexander Dinauer <alexander.dinauer@sentry.io>
1 parent d28f388 commit 4066c5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sentry/src/main/java/io/sentry/SentryTracer.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ private boolean hasAllChildrenFinished() {
712712
@NotNull final ListIterator<Span> iterator = this.children.listIterator();
713713
while (iterator.hasNext()) {
714714
@NotNull final Span span = iterator.next();
715-
if (span.getOptions().isIdle()) {
715+
if (span.isIdle()) {
716716
continue;
717717
}
718718
// This is used in the spanFinishCallback, when the span isn't finished, but has a finish

0 commit comments

Comments
 (0)