Skip to content

Commit b81bc2b

Browse files
committed
PR
1 parent c2caa71 commit b81bc2b

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

dd-java-agent/appsec/src/main/java/com/datadog/appsec/gateway/AppSecRequestContext.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,6 @@ public void increaseRaspTimeouts() {
192192
RASP_TIMEOUTS_UPDATER.incrementAndGet(this);
193193
}
194194

195-
public void increaseConfigErrors() {
196-
CONFIG_ERRORS_UPDATER.incrementAndGet(this);
197-
}
198-
199195
public int getWafTimeouts() {
200196
return wafTimeouts;
201197
}
@@ -204,10 +200,6 @@ public int getRaspTimeouts() {
204200
return raspTimeouts;
205201
}
206202

207-
public int getConfigErrors() {
208-
return configErrors;
209-
}
210-
211203
public Additive getOrCreateAdditive(PowerwafContext ctx, boolean createMetrics, boolean isRasp) {
212204

213205
if (createMetrics) {

dd-java-agent/appsec/src/test/groovy/com/datadog/appsec/gateway/AppSecRequestContextSpecification.groovy

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,4 @@ class AppSecRequestContextSpecification extends DDSpecification {
290290
then:
291291
ctx.getRaspTimeouts() == 2
292292
}
293-
294-
def "test increase in config errors"() {
295-
when:
296-
ctx.increaseConfigErrors()
297-
ctx.increaseConfigErrors()
298-
299-
then:
300-
ctx.getConfigErrors() == 2
301-
}
302293
}

0 commit comments

Comments
 (0)