Skip to content

Commit e3254b2

Browse files
committed
wip
1 parent ea6886e commit e3254b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dd-java-agent/appsec/src/main/java/com/datadog/appsec/AppSecSystem.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ private static void doStart(SubscriptionService gw, SharedCommunicationObjects s
7272
ApiSecuritySampler requestSampler;
7373
if (Config.get().isApiSecurityEnabled()) {
7474
requestSampler = new ApiSecuritySamplerImpl();
75-
// When DD_API_SECURITY_ENABLED=true, ths post-processor is set even when AppSec is inactive. This should be
76-
// low overhead since the post-processor exits early when there is no AppSec request context.
75+
// When DD_API_SECURITY_ENABLED=true, ths post-processor is set even when AppSec is inactive.
76+
// This should be low overhead since the post-processor exits early if there's no AppSec
77+
// context.
7778
SpanPostProcessor.Holder.INSTANCE =
7879
new AppSecSpanPostProcessor(requestSampler, REPLACEABLE_EVENT_PRODUCER);
7980
} else {

0 commit comments

Comments
 (0)