We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb08701 commit 1a820e6Copy full SHA for 1a820e6
sentry/src/main/java/io/sentry/SentryTraceHeader.java
@@ -15,7 +15,7 @@ public final class SentryTraceHeader {
15
private final @NotNull SpanId spanId;
16
private final @Nullable Boolean sampled;
17
18
- final Pattern SENTRY_TRACEPARENT_HEADER_REGEX =
+ private static final Pattern SENTRY_TRACEPARENT_HEADER_REGEX =
19
Pattern.compile(
20
"^[ \\t]*(?<traceId>[0-9a-f]{32})-(?<spanId>[0-9a-f]{16})(?<sampled>-[01])?[ \\t]*$",
21
Pattern.CASE_INSENSITIVE);
0 commit comments