Skip to content

Commit 523afad

Browse files
committed
format
1 parent e68cd64 commit 523afad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SpanDescriptionExtractor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public final class SpanDescriptionExtractor {
2222
final @NotNull Attributes attributes = otelSpan.getAttributes();
2323

2424
final @Nullable String httpMethod =
25-
attributes.get(HttpAttributes.HTTP_REQUEST_METHOD) != null
26-
? attributes.get(HttpAttributes.HTTP_REQUEST_METHOD)
27-
: attributes.get(io.opentelemetry.semconv.SemanticAttributes.HTTP_METHOD);
25+
attributes.get(HttpAttributes.HTTP_REQUEST_METHOD) != null
26+
? attributes.get(HttpAttributes.HTTP_REQUEST_METHOD)
27+
: attributes.get(io.opentelemetry.semconv.SemanticAttributes.HTTP_METHOD);
2828

2929
if (httpMethod != null) {
3030
return descriptionForHttpMethod(otelSpan, httpMethod);

0 commit comments

Comments
 (0)