Skip to content

Commit ccc18c6

Browse files
committed
Make selector match package-private
1 parent dd40811 commit ccc18c6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

internal-api/src/main/java/datadog/trace/bootstrap/config/provider/StableConfigParser.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,9 @@ private static boolean checkEnvMatches(
125125
return false;
126126
}
127127

128-
// TODO: Make this private again after testing?
129128
// We do all of the case insensitivity modifications in this function, because each selector will
130129
// be viewed just once
131-
public static boolean selectorMatch(
132-
String origin, List<String> matches, String operator, String key) {
130+
static boolean selectorMatch(String origin, List<String> matches, String operator, String key) {
133131
switch (origin.toLowerCase()) {
134132
case "language":
135133
if (!validOperatorForLanguageOrigin(operator)) {

internal-api/src/test/groovy/datadog/trace/bootstrap/config/provider/StableConfigParserTest.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ apm_configuration_rules:
6464
Files.delete(filePath)
6565
}
6666

67-
// TODO: This test will fail if we make selectorMatch private again
6867
def "test selectorMatch"() {
6968
when:
7069
// Env vars

0 commit comments

Comments
 (0)