Minor fixes to typos and code styles
MODIFY
dd-java-agent/instrumentation/log4j2/log4j2.gradle
dd-java-agent/instrumentation/log4j2/log4j2.gradle
@@ -29,13 +29,12 @@ dependencies {
compile project(':dd-trace-api')
compile project(':dd-java-agent:agent-tooling')
- testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version: log4jVersion
- testCompile group: 'org.apache.logging.log4j', name: 'log4j-api', version: log4jVersion
-
compile deps.bytebuddy
compile deps.opentracing
annotationProcessor deps.autoservice
implementation deps.autoservice
testCompile project(':dd-java-agent:testing')
+ testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version: log4jVersion
+ testCompile group: 'org.apache.logging.log4j', name: 'log4j-api', version: log4jVersion
}

MODIFY
dd-java-agent/testing/testing.gradle
dd-java-agent/testing/testing.gradle
@@ -5,6 +5,7 @@ minimumInstructionCoverage = 0.5
excludedClassesCoverage += [
'datadog.trace.agent.test.asserts.*Assert',
'datadog.trace.agent.test.base.*',
+ 'datadog.trace.agent.test.log.*',
'datadog.trace.agent.test.AgentTestRunner.ErrorCountingListener',
'datadog.trace.agent.test.utils.*',
// Avoid applying jacoco instrumentation to classes instrumented by tested agent

MODIFY
gradle/jacoco.gradle
gradle/jacoco.gradle
@@ -32,7 +32,7 @@ project.ext.minimumInstructionCoverage = 0.9
afterEvaluate {
test {
jacoco {
- // Make sure that excluded classes do not get jacoc instrumentation applied since it may confuse apm agent in some cases
+ // Make sure that excluded classes do not get jacoco instrumentation applied since it may confuse apm agent in some cases
excludes = project.excludedClassesCoverage
}
}

Minor fixes to typos and code styles