Skip to content

Commit 0ba317a

Browse files
committed
Format code
1 parent c072000 commit 0ba317a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

sentry-opentelemetry/sentry-opentelemetry-bootstrap/src/main/java/io/sentry/opentelemetry/InternalSemanticAttributes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ public final class InternalSemanticAttributes {
2121
public static final AttributeKey<String> BAGGAGE = AttributeKey.stringKey("sentry.baggage");
2222
public static final AttributeKey<Boolean> BAGGAGE_MUTABLE =
2323
AttributeKey.booleanKey("sentry.baggage_mutable");
24-
public static final AttributeKey<Boolean> CREATED_VIA_SENTRY_API = AttributeKey.booleanKey("sentry.is_created_via_sentry_api");
24+
public static final AttributeKey<Boolean> CREATED_VIA_SENTRY_API =
25+
AttributeKey.booleanKey("sentry.is_created_via_sentry_api");
2526
}

sentry-opentelemetry/sentry-opentelemetry-bootstrap/src/main/java/io/sentry/opentelemetry/SentryWeakSpanStorage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package io.sentry.opentelemetry;
22

33
import io.opentelemetry.api.common.Attributes;
4-
import io.opentelemetry.api.trace.Span;
54
import io.opentelemetry.api.trace.SpanContext;
65
import io.opentelemetry.context.internal.shaded.WeakConcurrentMap;
76
import io.sentry.ISentryLifecycleToken;
@@ -71,7 +70,8 @@ private boolean shouldStoreSpanAsRootSpan(final @NotNull IOtelSpanWrapper sentry
7170
return true;
7271
}
7372

74-
final @Nullable Boolean isCreatedViaSentryApi = attributes.get(InternalSemanticAttributes.CREATED_VIA_SENTRY_API);
73+
final @Nullable Boolean isCreatedViaSentryApi =
74+
attributes.get(InternalSemanticAttributes.CREATED_VIA_SENTRY_API);
7575
return isCreatedViaSentryApi == true;
7676
}
7777

0 commit comments

Comments
 (0)