From 1b19cee47e686ccb293385e44aca028911257437 Mon Sep 17 00:00:00 2001 From: Cyrill Halter Date: Wed, 10 Jul 2024 11:08:02 +0200 Subject: [PATCH] ktlint --- .../com/schwarz/crystalprocessor/generation/CodeGenerator.kt | 2 +- .../com/schwarz/crystalprocessor/model/source/SourceModel.kt | 1 - demo/src/main/java/com/schwarz/crystaldemo/tesst/Task.kt | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crystal-map-processor/src/main/java/com/schwarz/crystalprocessor/generation/CodeGenerator.kt b/crystal-map-processor/src/main/java/com/schwarz/crystalprocessor/generation/CodeGenerator.kt index 66df4ca3..1501e41e 100644 --- a/crystal-map-processor/src/main/java/com/schwarz/crystalprocessor/generation/CodeGenerator.kt +++ b/crystal-map-processor/src/main/java/com/schwarz/crystalprocessor/generation/CodeGenerator.kt @@ -76,7 +76,7 @@ class CodeGenerator(private val filer: Filer) { StandardLocation.SOURCE_OUTPUT, fileWithHeader.packageName, "${fileWithHeader.name}.kt", - *originatingElements.toTypedArray(), + *originatingElements.toTypedArray() ) try { filerSourceFile.openWriter().use { it.write(fixedFileString) } diff --git a/crystal-map-processor/src/main/java/com/schwarz/crystalprocessor/model/source/SourceModel.kt b/crystal-map-processor/src/main/java/com/schwarz/crystalprocessor/model/source/SourceModel.kt index 430ec852..25261a0b 100644 --- a/crystal-map-processor/src/main/java/com/schwarz/crystalprocessor/model/source/SourceModel.kt +++ b/crystal-map-processor/src/main/java/com/schwarz/crystalprocessor/model/source/SourceModel.kt @@ -20,7 +20,6 @@ import com.schwarz.crystalapi.Reduces import com.schwarz.crystalapi.deprecated.Deprecated import com.schwarz.crystalapi.query.Queries import com.schwarz.crystalapi.query.Query -import com.sun.tools.javac.code.Type import org.apache.commons.lang3.text.WordUtils import org.jetbrains.annotations.Nullable import javax.lang.model.element.Element diff --git a/demo/src/main/java/com/schwarz/crystaldemo/tesst/Task.kt b/demo/src/main/java/com/schwarz/crystaldemo/tesst/Task.kt index 176c009d..50ac5614 100644 --- a/demo/src/main/java/com/schwarz/crystaldemo/tesst/Task.kt +++ b/demo/src/main/java/com/schwarz/crystaldemo/tesst/Task.kt @@ -59,7 +59,6 @@ open class Task { suspend fun suspendingUltraComplexQueryWithAVeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeryLongName(storeId: String): List { return emptyList() } - } // // override fun documentId(): String {