fix test compile setting
code format with google formatter
MODIFY
dd-java-agent/instrumentation/jax-rs-annotations-2/jax-rs-annotations-2.gradle
dd-java-agent/instrumentation/jax-rs-annotations-2/jax-rs-annotations-2.gradle
+ext {
+ minJavaVersionForTests = JavaVersion.VERSION_1_8
+}
+
muzzle {
fail {
group = "javax.ws.rs"
@@ -11,10 +15,6 @@ muzzle {
}
}
-ext {
- minJavaVersionForTests = JavaVersion.VERSION_1_8
-}
-
apply from: "${rootDir}/gradle/java.gradle"
//apply plugin: 'org.unbroken-dome.test-sets'
@@ -40,3 +40,8 @@ dependencies {
// latestDepTestCompile group: 'io.dropwizard', name: 'dropwizard-testing', version: '1.+'
}
+
+test {
+ sourceCompatibility = 1.8
+ targetCompatibility = 1.8
+}

MODIFY
dd-java-agent/instrumentation/jax-rs-annotations-2/src/test/groovy/JavaInterfaces.java
dd-java-agent/instrumentation/jax-rs-annotations-2/src/test/groovy/JavaInterfaces.java
@@ -23,6 +23,7 @@ public class JavaInterfaces {
@Path("call")
@Override
public void call() {
+ // do nothing
}
abstract void actual();
@@ -33,6 +34,7 @@ public class JavaInterfaces {
@Override
void actual() {
+ // do nothing
}
}
@@ -53,7 +55,7 @@ public class JavaInterfaces {
@Override
public void actual() {
+ // do nothing
}
}
-
}

- fix test compile setting
- code format with google formatter