End groovy files with newline
MODIFY
conventions/src/main/kotlin/otel.spotless-conventions.gradle.kts
conventions/src/main/kotlin/otel.spotless-conventions.gradle.kts
@@ -14,6 +14,7 @@ spotless {
plugins.withId("groovy") {
groovy {
licenseHeaderFile(rootProject.file("buildscripts/spotless.license.java"), "(package|import|class)")
+ endWithNewline()
}
}
plugins.withId("scala") {

MODIFY
instrumentation/apache-camel-2.20/javaagent/src/test/groovy/io/opentelemetry/javaagent/instrumentation/apachecamel/aws/SnsCamelTest.groovy
instrumentation/apache-camel-2.20/javaagent/src/test/groovy/io/opentelemetry/javaagent/instrumentation/apachecamel/aws/SnsCamelTest.groovy
@@ -132,4 +132,3 @@ class SnsCamelTest extends AgentInstrumentationSpecification {
clearExportedData()
}
}
-

MODIFY
instrumentation/async-http-client/async-http-client-1.9/javaagent/src/test/groovy/AsyncHttpClientTest.groovy
instrumentation/async-http-client/async-http-client-1.9/javaagent/src/test/groovy/AsyncHttpClientTest.groovy
@@ -70,5 +70,3 @@ class AsyncHttpClientTest extends HttpClientTest<Request> implements AgentTestTr
return null
}
}
-
-

MODIFY
instrumentation/hibernate/hibernate-3.3/javaagent/src/test/groovy/SessionTest.groovy
instrumentation/hibernate/hibernate-3.3/javaagent/src/test/groovy/SessionTest.groovy
@@ -610,4 +610,3 @@ class SessionTest extends AbstractHibernateTest {
sessionId1 != sessionId2 != sessionId3
}
}
-

MODIFY
instrumentation/hibernate/hibernate-4.0/javaagent/src/test/groovy/SessionTest.groovy
instrumentation/hibernate/hibernate-4.0/javaagent/src/test/groovy/SessionTest.groovy
@@ -603,4 +603,3 @@ class SessionTest extends AbstractHibernateTest {
sessionId1 != sessionId2 != sessionId3
}
}
-

MODIFY
instrumentation/hibernate/hibernate-procedure-call-4.3/javaagent/src/test/groovy/ProcedureCallTest.groovy
instrumentation/hibernate/hibernate-procedure-call-4.3/javaagent/src/test/groovy/ProcedureCallTest.groovy
@@ -184,4 +184,3 @@ class ProcedureCallTest extends AgentInstrumentationSpecification {
}
}
}
-

MODIFY
instrumentation/jdbc/library/src/test/groovy/io/opentelemetry/instrumentation/jdbc/datasource/TestDataSource.groovy
instrumentation/jdbc/library/src/test/groovy/io/opentelemetry/instrumentation/jdbc/datasource/TestDataSource.groovy
@@ -61,4 +61,3 @@ class TestDataSource implements DataSource {
}
}
-

MODIFY
instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/groovy/io/opentelemetry/instrumentation/kafkaclients/InterceptorsTest.groovy
instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/groovy/io/opentelemetry/instrumentation/kafkaclients/InterceptorsTest.groovy
@@ -100,4 +100,3 @@ class InterceptorsTest extends KafkaClientBaseTest implements LibraryTestTrait {
}
}
}
-

MODIFY
instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/groovy/io/opentelemetry/instrumentation/kafkaclients/WrappersTest.groovy
instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/groovy/io/opentelemetry/instrumentation/kafkaclients/WrappersTest.groovy
@@ -107,4 +107,3 @@ class WrappersTest extends KafkaClientBaseTest implements LibraryTestTrait {
testHeaders << [false, true]
}
}
-

MODIFY
instrumentation/redisson/redisson-common/testing/src/main/groovy/AbstractRedissonAsyncClientTest.groovy
instrumentation/redisson/redisson-common/testing/src/main/groovy/AbstractRedissonAsyncClientTest.groovy
@@ -152,4 +152,3 @@ abstract class AbstractRedissonAsyncClientTest extends AgentInstrumentationSpeci
}
}
}
-

MODIFY
instrumentation/redisson/redisson-common/testing/src/main/groovy/AbstractRedissonClientTest.groovy
instrumentation/redisson/redisson-common/testing/src/main/groovy/AbstractRedissonClientTest.groovy
@@ -315,4 +315,3 @@ abstract class AbstractRedissonClientTest extends AgentInstrumentationSpecificat
}
}
}
-

MODIFY
instrumentation/spring/spring-webmvc-3.1/javaagent/src/test/groovy/test/boot/SecurityConfig.groovy
instrumentation/spring/spring-webmvc-3.1/javaagent/src/test/groovy/test/boot/SecurityConfig.groovy
@@ -58,4 +58,3 @@ class SecurityConfig {
}
}
}
-

MODIFY
smoke-tests/src/test/groovy/io/opentelemetry/smoketest/SdkDisabledSmokeTest.groovy
smoke-tests/src/test/groovy/io/opentelemetry/smoketest/SdkDisabledSmokeTest.groovy
@@ -57,4 +57,3 @@ class SdkDisabledSmokeTest extends SmokeTest {
jdk << [8, 11, 17]
}
}
-

MODIFY
testing-common/integration-tests/src/test/groovy/context/FieldBackedImplementationTest.groovy
testing-common/integration-tests/src/test/groovy/context/FieldBackedImplementationTest.groovy
@@ -224,5 +224,3 @@ class FieldBackedImplementationTest extends AgentInstrumentationSpecification {
new UntransformableKeyClass().incrementContextCount() == 1
}
}
-
-

End groovy files with newline (#7127)