Skip to content

Commit 58768ab

Browse files
authored
Add Collectors.* static importing to spotless (#16244)
1 parent 223e6aa commit 58768ab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

conventions/src/main/kotlin/io/opentelemetry/instrumentation/gradle/StaticImportFormatter.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class StaticImportFormatter : FormatterFunc, Serializable {
6161
"io.opentelemetry.instrumentation.api.internal.SemconvStability",
6262
"emit[a-zA-Z0-9]*"
6363
),
64+
Triple("Collectors", "java.util.stream.Collectors", "[a-z][a-zA-Z0-9]*"),
6465
)
6566

6667
var content = input

0 commit comments

Comments
 (0)