Skip to content

Commit bc85f71

Browse files
committed
disable this-escape warning for tests
1 parent 6f1929d commit bc85f71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ tasks {
6060
if (name.contains("Test")) {
6161
// serialVersionUI is basically guaranteed to be useless in tests
6262
compilerArgs.add("-Xlint:-serial")
63+
compilerArgs.add("-Xlint:-this-escape")
6364
}
6465
}
6566
}

0 commit comments

Comments
 (0)