Skip to content

Commit 2590c51

Browse files
committed
Remove unused imports, update comments
1 parent 38d67b3 commit 2590c51

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/assemble/AssembleModelGenerator.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ class AssembleModelGenerator(private val basePackageName: String) {
205205
is UtClassRefModel,
206206
is UtVoidModel,
207207
is UtEnumConstantModel,
208-
is UtCustomModel -> utModel
208+
is UtCustomModel -> utModel // for example, UtSpringContextModel
209209
is UtLambdaModel -> assembleLambdaModel(utModel)
210210
is UtArrayModel -> assembleArrayModel(utModel)
211211
is UtCompositeModel -> assembleCompositeModel(utModel)
212212
is UtAssembleModel -> assembleAssembleModel(utModel)
213-
// Python, JavaScript, UtSpringContextModel are supposed to be here as well
213+
// Python, JavaScript are supposed to be here as well
214214
else -> utModel
215215
}
216216
} catch (e: AssembleException) {

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/services/framework/TestFrameworkManager.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ import org.utbot.framework.plugin.api.BuiltinMethodId
2525
import org.utbot.framework.plugin.api.ClassId
2626
import org.utbot.framework.plugin.api.CodegenLanguage
2727
import org.utbot.framework.plugin.api.ConstructorId
28-
import org.utbot.framework.plugin.api.util.SpringModelUtils.extendWithClassId
29-
import org.utbot.framework.plugin.api.util.SpringModelUtils.runWithClassId
30-
import org.utbot.framework.plugin.api.util.SpringModelUtils.springExtensionClassId
3128
import org.utbot.framework.plugin.api.util.booleanArrayClassId
3229
import org.utbot.framework.plugin.api.util.byteArrayClassId
3330
import org.utbot.framework.plugin.api.util.charArrayClassId

utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ import org.utbot.framework.util.ConflictTriggers
3838
import org.utbot.framework.util.SootUtils
3939
import org.utbot.framework.util.jimpleBody
4040
import org.utbot.framework.util.toModel
41-
import org.utbot.framework.plugin.api.SpringSettings.*
42-
import org.utbot.framework.plugin.api.SpringTestType.*
4341
import org.utbot.instrumentation.ConcreteExecutor
4442
import org.utbot.instrumentation.warmup
4543
import org.utbot.taint.TaintConfigurationProvider

0 commit comments

Comments
 (0)