Skip to content

Commit a974725

Browse files
committed
disable StringConcatToTextBlock
1 parent 616f5a9 commit a974725

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ tasks {
7979
// cognitive load is dubious.
8080
disable("YodaCondition")
8181

82+
// We get this warning in modules that compile for old java versions
83+
disable("StringConcatToTextBlock")
84+
8285
if (name.contains("Jmh") || name.contains("Test")) {
8386
// Allow underscore in test-type method names
8487
disable("MemberName")

0 commit comments

Comments
 (0)