Minor, take List instead of Iterable in convertClasspathRoots
To emphasize that the order is important
This commit is contained in:
@@ -57,7 +57,7 @@ internal class ClasspathRootsResolver(
|
||||
|
||||
data class RootsAndModules(val roots: List<JavaRoot>, val modules: List<JavaModule>)
|
||||
|
||||
fun convertClasspathRoots(contentRoots: Iterable<ContentRoot>): RootsAndModules {
|
||||
fun convertClasspathRoots(contentRoots: List<ContentRoot>): RootsAndModules {
|
||||
val result = mutableListOf<JavaRoot>()
|
||||
|
||||
val modules = ArrayList<JavaModule>()
|
||||
|
||||
Reference in New Issue
Block a user