Skip to content

Commit e8df109

Browse files
committed
Remove the suppression for JavaMapForEach
1 parent 05a47b5 commit e8df109

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/transformers/GroovyExtensionModuleTransformer.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ public open class GroovyExtensionModuleTransformer : ResourceTransformer {
3535
override fun transform(context: TransformerContext) {
3636
val props = Properties()
3737
props.load(context.inputStream)
38-
@Suppress("JavaMapForEach")
39-
props.forEach { key, value ->
38+
props.forEach { (key, value) ->
4039
when (key as String) {
4140
KEY_MODULE_NAME -> handle(key, value as String) {
4241
module.setProperty(key, MERGED_MODULE_NAME)

0 commit comments

Comments
 (0)