Skip to content

Commit a97f428

Browse files
committed
chore: Clean muzzle directive name when non necessary
1 parent 1611c3d commit a97f428

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

dd-java-agent/instrumentation/play/play-2.6/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ muzzle {
2929
javaVersion = 11
3030
}
3131
pass {
32-
name = 'play26Only'
3332
group = 'com.typesafe.play'
3433
module = 'play-java_2.11'
3534
versions = "[2.6.0,2.7.0)"

dd-java-agent/instrumentation/play/play-appsec-2.6/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ muzzle {
55
extraRepository("typesafe", "https://repo.typesafe.com/typesafe/maven-releases/")
66

77
pass {
8-
name = 'play26Only'
98
group = 'com.typesafe.play'
109
module = 'play-java_2.11'
1110
versions = "[2.6.0,2.7.0)"

dd-java-agent/instrumentation/play/play-appsec-2.6/src/main/java/datadog/trace/instrumentation/play26/appsec/RoutingDslInstrumentation.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ public RoutingDslInstrumentation() {
2525
super("play");
2626
}
2727

28-
@Override
29-
public String muzzleDirective() {
30-
return "play26Only";
31-
}
32-
3328
@Override
3429
public String instrumentedType() {
3530
return "play.routing.RoutingDsl$Route";

dd-java-agent/instrumentation/play/play-appsec-2.7/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,20 @@ muzzle {
55
extraRepository("typesafe", "https://repo.typesafe.com/typesafe/maven-releases/")
66

77
pass {
8-
name = 'play27'
98
group = 'com.typesafe.play'
109
module = 'play-java_2.11'
1110
versions = "[2.7.0,)"
1211
assertInverse = true
1312
javaVersion = 11
1413
}
1514
pass {
16-
name = 'play27'
1715
group = 'com.typesafe.play'
1816
module = 'play-java_2.12'
1917
versions = "[2.7.0,)"
2018
assertInverse = true
2119
javaVersion = 11
2220
}
2321
pass {
24-
name = 'play27'
2522
group = 'com.typesafe.play'
2623
module = 'play-java_2.13'
2724
versions = "[2.7.0,)"

dd-java-agent/instrumentation/play/play-appsec-2.7/src/main/java/datadog/trace/instrumentation/play27/appsec/RoutingDsl27Instrumentation.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ public RoutingDsl27Instrumentation() {
2020
super("play");
2121
}
2222

23-
@Override
24-
public String muzzleDirective() {
25-
return "play27";
26-
}
27-
2823
@Override
2924
public String instrumentedType() {
3025
return "play.routing.RoutingDsl$Route";

0 commit comments

Comments
 (0)