Skip to content

Commit 225913c

Browse files
committed
Replace needless map call
1 parent 80ef3a5 commit 225913c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ open class KotlinFileExtractor(
637637
if (c.kind == ClassKind.ANNOTATION_CLASS) {
638638
c.declarations
639639
.filterIsInstance<IrProperty>()
640-
.map {
640+
.forEach {
641641
val getter = it.getter
642642
if (getter == null) {
643643
logger.warnElement("Expected an annotation property to have a getter", it)

0 commit comments

Comments
 (0)