Skip to content

Commit a2eb000

Browse files
committed
refactor resolveImportStatements
1 parent 97dfbe4 commit a2eb000

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugins/symbol-processor/src/main/kotlin/org/jetbrains/dataframe/ksp/DataSchemaGenerator.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ class DataSchemaGenerator(
4848
private val codeGenerator: com.google.devtools.ksp.processing.CodeGenerator,
4949
) {
5050

51-
fun resolveImportStatements() = listOf(
52-
::resolvePathImports,
53-
).flatMap { it(resolver) }
51+
fun resolveImportStatements(): List<ImportDataSchemaStatement> = resolvePathImports(resolver).toList()
5452

5553
class ImportDataSchemaStatement(
5654
val origin: KSFile,

0 commit comments

Comments
 (0)