Skip to content

Commit c38666c

Browse files
Fix comment
1 parent ed6c179 commit c38666c

File tree

1 file changed

+7
-6
lines changed
  • utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/services

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@ package org.utbot.framework.plugin.services
33
import java.nio.file.Path
44
import java.nio.file.Paths
55

6-
/**
7-
* Singleton to enable abstract access to path to JDK.
8-
9-
* and in the test runs.
10-
* This is necessary because the engine can be run from the various starting points, like IDEA plugin, CLI, etc.
11-
*/
126
data class JdkInfo(
137
val path: Path,
148
@Suppress("unused")
159
val version: String
1610
)
1711

12+
/**
13+
* Singleton to enable abstract access to path to JDK.
14+
15+
* Used in [org.utbot.instrumentation.process.ChildProcessRunner].
16+
* The purpose is to use the same JDK in [org.utbot.instrumentation.ConcreteExecutor] and in the test runs.
17+
* This is necessary because the engine can be run from the various starting points, like IDEA plugin, CLI, etc.
18+
*/
1819
object JdkInfoService : PluginService<JdkInfo> {
1920
var jdkInfoProvider: JdkInfoProvider = JdkInfoDefaultProvider()
2021

0 commit comments

Comments
 (0)