Skip to content

Commit

Permalink
Fix ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
restingbull committed Dec 8, 2023
1 parent 3f0db1c commit d443488
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ import org.jetbrains.kotlin.preloading.ClassPreloadingUtils
import org.jetbrains.kotlin.preloading.Preloader
import java.io.File
import java.io.PrintStream
import java.lang.ClassLoader
import java.lang.reflect.Method
import java.nio.file.FileSystems
import java.nio.file.Path
import java.nio.file.Paths
import javax.inject.Inject
import javax.inject.Singleton
import java.lang.ClassLoader

class KotlinToolchain private constructor(
private val baseJars: List<File>,
Expand Down Expand Up @@ -175,7 +175,6 @@ class KotlinToolchain private constructor(
}
}


private fun createClassLoader(
javaHome: Path,
baseJars: List<File>,
Expand All @@ -197,7 +196,6 @@ class KotlinToolchain private constructor(
throw RuntimeException("$javaHome, $baseJars", it)
}.getOrThrow()


val classLoader by lazy {
createClassLoader(
JAVA_HOME,
Expand Down

0 comments on commit d443488

Please sign in to comment.