Skip to content

Commit af84e48

Browse files
committed
Little cosmetic changes
1 parent 9af103e commit af84e48

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utbot-spring-analyzer/src/main/kotlin/org/utbot/spring/process/SpringAnalyzerProcess.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,12 @@ class SpringAnalyzerProcess private constructor(
7171

7272
fun createBlocking(classpath: List<String>) = runBlocking { SpringAnalyzerProcess(classpath) }
7373

74-
suspend operator fun invoke(classpath: List<String>): SpringAnalyzerProcess = LifetimeDefinition().terminateOnException { lifetime ->
74+
suspend operator fun invoke(classpathItems: List<String>): SpringAnalyzerProcess = LifetimeDefinition().terminateOnException { lifetime ->
75+
val extendedClasspath = listOf(springAnalyzerJarFile.path) + classpathItems
7576
val rdProcess = startUtProcessWithRdServer(lifetime) { port ->
7677
classpathArgs = listOf(
7778
"-cp",
78-
"\"${(listOf(springAnalyzerJarFile.path) + classpath).joinToString(File.pathSeparator)}\"",
79+
"\"${extendedClasspath.joinToString(File.pathSeparator)}\"",
7980
"org.utbot.spring.process.SpringAnalyzerProcessMainKt"
8081
)
8182
val cmd = obtainProcessCommandLine(port)

0 commit comments

Comments
 (0)